How to install OpenTURNS on Ubuntu/Kubuntu

This guide explains Ubuntu/Kubuntu Feisty installation of OpenTURNS.

Prepare your system

Some OpenTURNS dependencies need you to activate 'universe' repository. To do that, edit your /etc/apt/sources.list and uncomment the lines :

Ubuntu/Kubuntu Feisty (7.04)

Note : In Ubuntu/Kubuntu Feisty universe repositories are activated by default, just make sure you have already access to them.

deb feisty universe
deb-src feisty universe


  • Install building tools
    aptitude install build-essential
  • Install fortan compiler
    aptitude install g77
  • Install mathematical tools (R, LAPACK)
    aptitude install r-base lapack3-dev
  • Install XercesC, BOOST, Qt3
    aptitude install libxerces27-dev libboost-dev libqt3-mt-dev
  • 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
  • Launch installation
    make install
  • Help python to find OpenTURNS's module
    echo "openturns" > /usr/lib/python2.5/site-packages/openturns.pth

Try it !

You can check if OpenTURNS's TUI is working :

# python
Python 2.5.1 (r251:54863, May  2 2007, 16:27:44)
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from openturns import *
Last modified 13 years ago Last modified on 09/13/07 12:30:10