Installation:Linux
Contents
Distribution packages
(not yet available)
The easiest and fastest way to install geopsy, dinver and other applications is to use the packaging system specific to your Linux distribution, if available. This binary distribution has been introduced at the end of year 2008. Currently only a few distributions are supported:
Compilation from sources
This is the primary distribution method always available as a backup if the binary method fails or is not available for your Linux system.
gcc
A decent gcc version is required primarily for Qt. The recommended versions are listed here. To check the version of your compiler:
gcc --version # gcc (GCC) 4.1.1 (Gentoo 4.1.1-r3) # Copyright (C) 2006 Free Software Foundation, Inc.
Fortran support is required. Some codes written in Fortran are included (less than 0.1% of the total).
Qt
Qt libraries and development tools must be available. Currently only all Qt releases posterior or equal to 4.5.0 are supported. To test if Qt is already installed:
qmake -version # QMake version 2.01a # Using Qt version 4.5.0 in /usr/lib64/qt4 lupdate -version # lupdate version 4.5.0
On some Linux distribution, qmake is not directly available, but qmake4 or qmake-qt4. In this case, qmake utility certainly belongs to Qt 3 as checked here below.
qmake -version # Qmake version: 1.07a (Qt 3.3.8b) # Qmake is free software from Trolltech ASA.
Unless you want to compile softwares based on the old Qt 3, replacing qmake by qmake-qt4 has no side effects. In any case, you can restore the initial state after installation is completed.
which qmake-qt4 # /usr/bin/qmake-qt4 cd /usr/bin mv qmake qmake-qt3 ln -s qmake-qt4 qmake
If Qt 4.5.0 (or more recent versions) is properly installed, you can jump directly to Lapack. If not you must first install Qt.
- Installing Qt binary packages, if they are available for your distribution
- Compiling Qt from source
Lapack
Lapack >= 3.0 is required. The best option is to install the package shipped with your distribution.
- ubuntu: lapack3-dev
- Fedora:
- openSUSE:
- gentoo: sci-libs/lapack
Note: this external dependency is required for all release >= 2.1.0. For all previous releases, 'Lapack' libraries were shipped with Geopsy packages.
FFTW
Fastest Fourier Transform of the West.
fftw >= 3.0.1 is required. The best option is to install the package shipped with your distribution.
- ubuntu: libfftw3-dev
- Fedora:
- openSUSE:
- gentoo: sci-libs/fftw
Note: this external dependency is required for all release >= 2.1.0. For all previous releases, 'FFTW' libraries were shipped with Geopsy packages.