How to install OpenTURNS on Debian 4.0 (Etch)
This guide explains Debian Etch installation of OpenTURNS.
Configure
- Install building tools
aptitude install build-essential
- Install XercesC, BOOST, Qt3
aptitude install libxerces27-dev libboost-dev libqt3-mt-dev
- Install mathematical tools (R, LAPACK)
aptitude install r-base lapack3-dev
- Install python's development files (used to build TUI)
aptitude install python-dev
- SWIG 1.3.31 version is required bellow OpenTURNS 0.9.2 but Debian Etch have SWIG in 1.3.29 version. You need to build SWIG from source :
wget http://downloads.sourceforge.net/swig/swig-1.3.31.tar.gz tar xzvf swig-1.3.31.tar.gz cd swig-1.3.31 ./configure --prefix=/usr make && make install cd ..
- Download and extract OpenTURNS archive (i.e. openturns-0.9.1)
wget http://downloads.sourceforge.net/openturns/openturns-0.9.1.tar.gz tar xzf openturns-0.9.1.tar.gz cd openturns-0.9.1
- To allow OpenTURNS to communicate with R, you need to install the provided R package named rotRPackage :
cd utils tar xvzf rotRPackage_*.tar.gz R CMD INSTALL rotRPackage cd ..
- Launch configuration script
./configure --prefix=/usr
Compilation and installation
- Launch compilation
make
- Launch installation
make install
- Help python to find OpenTURNS's module
echo "openturns" > /usr/lib/python2.4/site-packages/openturns.pth
Try it !
You can check if OpenTURNS's TUI is working :
# python Python 2.4.4 (#2, Apr 5 2007, 18:43:10) [GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from openturns import * >>>
