How To Install liblapack-test on Ubuntu 18.04

In this tutorial we learn how to install liblapack-test on Ubuntu 18.04. liblapack-test is Library of linear algebra routines 3 - testing programs

Introduction

In this tutorial we learn how to install liblapack-test on Ubuntu 18.04.

What is liblapack-test

liblapack-test is:

LAPACK version 3.X is a comprehensive FORTRAN library that does linear algebra operations including matrix inversions, least squared solutions to linear sets of equations, eigenvector analysis, singular value decomposition, etc. It is a very comprehensive and reputable package that has found extensive use in the scientific community.

These testing programs have been run against the shared library in the lapack package. The results have been collected in the files test_results. These programs are provided separately here so that the user can test and compare alternate versions of the lapack libraries, such as those provided by the ATLAS packages, and the lapack package.

There are three methods to install liblapack-test 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 liblapack-test Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install liblapack-test

Install liblapack-test Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install liblapack-test

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

sudo aptitude -y install liblapack-test

How To Uninstall liblapack-test on Ubuntu 18.04

To uninstall only the liblapack-test package we can use the following command:

sudo apt-get remove liblapack-test

Uninstall liblapack-test And Its Dependencies

To uninstall liblapack-test and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove liblapack-test

Remove liblapack-test Configurations and Data

To remove liblapack-test configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge liblapack-test

Remove liblapack-test configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge liblapack-test

References

Summary

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