How To Install libopenturns0.10 on Ubuntu 18.04

In this tutorial we learn how to install libopenturns0.10 on Ubuntu 18.04. libopenturns0.10 is dynamic libraries for OpenTURNS

Introduction

In this tutorial we learn how to install libopenturns0.10 on Ubuntu 18.04.

What is libopenturns0.10

libopenturns0.10 is:

OpenTURNS is a powerful and generic tool to treat and quantify uncertainties in numerical simulations in design, optimization and control. It allows both sensitivity and reliability analysis studies:

  • define the outputs of interest and decision criteria;
  • quantify and model the source of uncertainties;
  • propagate uncertainties and/or analyse sensitivity
  • rank the sources of uncertainty

OpenTURNS is a large project with more than 300 C++ classes which uses well known and supported software such as R for the statistical methods and BLAS/LAPACK for the linear algebra.

This package provides the dynamic libraries.

The library implements almost all the treatments of uncertainty that OpenTURNS can provide. It is designed to be linked against any user specific application, or with either the textual front-end (see python-openturns or python3-openturns packages).

The main function of that library is giving to specific applications all the functionalities needed to treat uncertainties in studies. Targeted users are all engineers who want to introduce the probabilistic dimension in their so far deterministic studies.

There are three methods to install libopenturns0.10 on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libopenturns0.10 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libopenturns0.10 using apt-get by running the following command:

sudo apt-get -y install libopenturns0.10

Install libopenturns0.10 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libopenturns0.10 using apt by running the following command:

sudo apt -y install libopenturns0.10

Install libopenturns0.10 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libopenturns0.10 using aptitude by running the following command:

sudo aptitude -y install libopenturns0.10

How To Uninstall libopenturns0.10 on Ubuntu 18.04

To uninstall only the libopenturns0.10 package we can use the following command:

sudo apt-get remove libopenturns0.10

Uninstall libopenturns0.10 And Its Dependencies

To uninstall libopenturns0.10 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libopenturns0.10

Remove libopenturns0.10 Configurations and Data

To remove libopenturns0.10 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libopenturns0.10

Remove libopenturns0.10 configuration, data, and all of its dependencies

We can use the following command to remove libopenturns0.10 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libopenturns0.10

References

Summary

In this tutorial we learn how to install libopenturns0.10 package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.