How To Install libtmglib3 on Debian 9

In this tutorial we learn how to install libtmglib3 on Debian 9. libtmglib3 is test matrix generators of LAPACK - shared version

Introduction

In this tutorial we learn how to install libtmglib3 on Debian 9.

What is libtmglib3

libtmglib3 is:

libtmglib is a component of the LAPACK library, containing routines for generation of input matrices for testing and timing of LAPACK.

This package contains a shared version of the library.

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

Install libtmglib3 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libtmglib3

Install libtmglib3 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libtmglib3 using apt by running the following command:

sudo apt -y install libtmglib3

Install libtmglib3 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libtmglib3

How To Uninstall libtmglib3 on Debian 9

To uninstall only the libtmglib3 package we can use the following command:

sudo apt-get remove libtmglib3

Uninstall libtmglib3 And Its Dependencies

To uninstall libtmglib3 and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libtmglib3

Remove libtmglib3 Configurations and Data

To remove libtmglib3 configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libtmglib3

Remove libtmglib3 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtmglib3

Dependencies

libtmglib3 have the following dependencies:

References

Summary

In this tutorial we learn how to install libtmglib3 package on Debian 9 using different package management tools: apt, apt-get and aptitude.