How to install OpenTURNS' development version on Ubuntu
This guide explains Ubuntu installation of development version of OpenTURNS.
Retrieve sources
- Install subversion
sudo apt-get install subversion
- Download
svn checkout https://svn.openturns.org/openturns/tags/openturns-0.13.2 openturns-0.13.2 cd openturns-0.13.2
Configure
- Install building tools
sudo apt-get install build-essential automake libtool g77 flex bison swig libssl-dev
- Install LibXML
sudo apt-get install libxml2-dev
- Install python's development files and SWIG (used to build TUI)
sudo apt-get install python-dev python-qt4-dev
- Install mathematical tools (R, LAPACK)
sudo apt-get install r-base lapack3-dev
- Install rotRPackage
sudo R CMD INSTALL utils/rotRPackage_1.4.4.tar.gz
- Launch bootstraping
./bootstrap
- Make a build directory
mkdir build cd build
- Launch configuration script
../configure --with-swig --prefix=$PWD/install
Compilation and installation
- Launch compilation
make -j5
- Launch installation
make install
Try it !
You can check if OpenTURNS's TUI is working :
# PYTHONPATH=$PWD/install/lib/python2.6/site-packages python Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from openturns import * Welcome to OpenTURNS version 0.13.2-based-devel >>>