wiki:HowToInstallRPMPackage

How to install OpenTURNS on RPM-based distros

This guide explains how to install OpenTURNS on some RPM distros.

Available distributions

  • CentOS 6
  • Fedora 16
  • RedHat 6
  • Mandriva 2010.1
  • OpenSUSE 12.1

Available architectures

  • x86_64, i386

Preparation

Login with super cow powers

su -

Add the repository corresponding to your operating system:

curl http://download.opensuse.org/repositories/science:/openturns/CentOS_CentOS-6/science:openturns.repo -o /etc/yum.repos.d/obs-openturns.repo 
curl http://download.opensuse.org/repositories/science:/openturns/Fedora_16/science:openturns.repo -o /etc/yum.repos.d/obs-openturns.repo 
curl http://download.opensuse.org/repositories/science:/openturns/Mandriva_2010.1/science:openturns.repo -o /etc/yum.repos.d/obs-openturns.repo
curl http://download.opensuse.org/repositories/science:/openturns/RedHat_RHEL-6/science:openturns.repo -o /etc/yum.repos.d/obs-openturns.repo
curl http://download.opensuse.org/repositories/science:/openturns/openSUSE_12.1/science:openturns.repo -o /etc/yum.repos.d/obs-openturns.repo

Import gpg key:

rpm --import http://download.opensuse.org/repositories/science:/openturns/CentOS_CentOS-6/repodata/repomd.xml.key
rpm --import http://download.opensuse.org/repositories/science:/openturns/Fedora_16/repodata/repomd.xml.key
rpm --import http://download.opensuse.org/repositories/science:/openturns/Mandriva_2010.1/repodata/repomd.xml.key
rpm --import http://download.opensuse.org/repositories/science:/openturns/RedHat_RHEL-6/repodata/repomd.xml.key
rpm --import http://download.opensuse.org/repositories/science:/openturns/openSUSE_12.1/repodata/repomd.xml.key

Update the package list.

yum update

Available packages

Package nameDescription
openturns-docdocumentation
libopenturns0library
openturns-develdevelopment package
python-openturnspython interface (TUI)
python-openturns-develpython interface development files
openturns-examplesexamples
openturns-validationvalidation files

You can type the following command to find them

yum search openturns

Installation

yum install python-openturns