How To Install trilinos-doc on Ubuntu 20.04

In this tutorial we learn how to install trilinos-doc on Ubuntu 20.04. trilinos-doc is object-oriented framework for large-scale problems - documentation

Introduction

In this tutorial we learn how to install trilinos-doc on Ubuntu 20.04.

What is trilinos-doc

trilinos-doc is:

The Trilinos Project is an effort to develop algorithms and enabling technologies within an object-oriented software framework for the solution of large-scale, complex multi-physics engineering and scientific problems. A unique design feature of Trilinos is its focus on packages.

This is documentation for the Trilinos libraries in HTML format. Some pages point to header files provided in the corresponding -dev package, so it is suggested to install the latter as well.

There are three methods to install trilinos-doc on Ubuntu 20.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 trilinos-doc Using apt-get

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

sudo apt-get update

After updating apt database, We can install trilinos-doc using apt-get by running the following command:

sudo apt-get -y install trilinos-doc

Install trilinos-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install trilinos-doc using apt by running the following command:

sudo apt -y install trilinos-doc

Install trilinos-doc 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 trilinos-doc using aptitude by running the following command:

sudo aptitude -y install trilinos-doc

How To Uninstall trilinos-doc on Ubuntu 20.04

To uninstall only the trilinos-doc package we can use the following command:

sudo apt-get remove trilinos-doc

Uninstall trilinos-doc And Its Dependencies

To uninstall trilinos-doc and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove trilinos-doc

Remove trilinos-doc Configurations and Data

To remove trilinos-doc configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge trilinos-doc

Remove trilinos-doc configuration, data, and all of its dependencies

We can use the following command to remove trilinos-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge trilinos-doc

References

Summary

In this tutorial we learn how to install trilinos-doc package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.