Difference between revisions of "Installation:Linux"

From GeopsyWiki
Jump to navigation Jump to search
Line 9: Line 9:
 
* [[gentoo]]
 
* [[gentoo]]
  
== Source package ==
+
== Compilation from sources ==
  
This is the primary distribution method always available as a backup if the binary method fails.
+
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 ===
 
=== gcc ===
Line 25: Line 25:
 
=== Qt ===
 
=== Qt ===
  
[http://trolltech.com Qt] libraries and development tools must be available. Currently only all Qt releases posterior or equal to 4.3.3 are supported. To test if Qt is already installed:
+
[http://www.qtsoftware.com 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
 
   #  QMake version 2.01a
 
   #  QMake version 2.01a
   #  Using Qt version 4.3.3 in /usr/lib64/qt4
+
   #  Using Qt version 4.5.0 in /usr/lib64/qt4
 
   lupdate -version
 
   lupdate -version
   #  lupdate version 4.3.3
+
   #  lupdate version 4.5.0
  
If you get these answers (or more recent versions), you can jump directly to [[#Download|Download]]. If not you must install Qt.
+
If you get these answers (or more recent versions), you can jump directly to [[#Lapack|Lapack]]. If not you must first install Qt.
  
 
* [[Installing Qt binary packages]], if they are available for your distribution
 
* [[Installing Qt binary packages]], if they are available for your distribution

Revision as of 06:29, 4 June 2009

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

If you get these answers (or more recent versions), you can jump directly to Lapack. If not you must first install Qt.

Lapack

Linear Algebra PACKage.

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. Before 'Lapack' library was shipped with Sesarray.

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. Before 'FFTW' library was shipped with Sesarray.

Download

Building