wiki:HowToInstallDebianPackage

How to install OpenTURNS on Debian or Ubuntu/Kubuntu/Xubuntu

This guide explains Debian packages installation of OpenTURNS.

Note: you will need root privileges.

Supported distributions and architectures

Ubuntu/Kubuntu/Xubuntu

We support theses following distributions :

  • Ubuntu 10.04 'Lucid Lynx'
  • Ubuntu 11.04 'Natty'

All of theses distributions are supported on architectures i386 and amd64 (x86_64).

Debian

We support theses following distributions :

  • Debian 4.0 "Etch"
  • Debian 5.0 "Sarge"
  • Debian 6.0 "Squeeze"

All of theses distributions are supported on architectures i386 and amd64 (x86_64).

Preparation

Add OpenTURNS mirror signature :

curl http://debian.openturns.org/openturns.org-repo.key | sudo apt-key add -

To be able to retrieve OpenTURNS package, you must add OpenTURNS repository in your repositories sources list:

Ubuntu/Kubuntu/Xubuntu

Add the following line to the file /etc/apt/sources.list:

deb http://ubuntu.openturns.org lucid main

Warning : don't forget to replace "lucid" by your distribution code name (i.e. natty)

Debian

Add the following line to the file /etc/apt/sources.list:

deb http://debian.openturns.org/ squeeze main

Warning : don't forget to replace "squeeze" by your distribution code name (i.e. etch)

Installation

After editing apt's sources.list, you must update your package database by executing :

sudo aptitude update

For example, if you want to use OpenTURNS in python interpreter:

sudo aptitude install python-openturns