How To Install libtrilinos-teko-13.2 on Ubuntu 22.04

In this tutorial we learn how to install libtrilinos-teko-13.2 on Ubuntu 22.04. libtrilinos-teko-13.2 is block preconditioners - runtime files

Introduction

In this tutorial we learn how to install libtrilinos-teko-13.2 on Ubuntu 22.04.

What is libtrilinos-teko-13.2

libtrilinos-teko-13.2 is:

Teko is a package for development and implementation of block preconditioners. This includes support for manipulation and setup of block operators. Furthermore tools exist to support decomposition of a fully coupled operator. Additionally, facilities that allow the construction of approximate inverse operators using the full complement of available preconditioners and solvers are available in Teko. Finally, a small number of generic block preconditioners has been implemented in Teko, including block Jacobi, and block Gauss-Seidel. For the Navier-Stokes equation, Teko has implementations of SIMPLE, PCD and LSC. For details on these methods see Stabilization and Scalable Block Preconditioning for the Navier-Stokes Equations and the references therein.

This package contains the dynamic libraries.

There are three methods to install libtrilinos-teko-13.2 on Ubuntu 22.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 libtrilinos-teko-13.2 Using apt-get

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

sudo apt-get update

After updating apt database, We can install libtrilinos-teko-13.2 using apt-get by running the following command:

sudo apt-get -y install libtrilinos-teko-13.2

Install libtrilinos-teko-13.2 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libtrilinos-teko-13.2 using apt by running the following command:

sudo apt -y install libtrilinos-teko-13.2

Install libtrilinos-teko-13.2 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 libtrilinos-teko-13.2 using aptitude by running the following command:

sudo aptitude -y install libtrilinos-teko-13.2

How To Uninstall libtrilinos-teko-13.2 on Ubuntu 22.04

To uninstall only the libtrilinos-teko-13.2 package we can use the following command:

sudo apt-get remove libtrilinos-teko-13.2

Uninstall libtrilinos-teko-13.2 And Its Dependencies

To uninstall libtrilinos-teko-13.2 and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove libtrilinos-teko-13.2

Remove libtrilinos-teko-13.2 Configurations and Data

To remove libtrilinos-teko-13.2 configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge libtrilinos-teko-13.2

Remove libtrilinos-teko-13.2 configuration, data, and all of its dependencies

We can use the following command to remove libtrilinos-teko-13.2 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libtrilinos-teko-13.2

References

Summary

In this tutorial we learn how to install libtrilinos-teko-13.2 package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.