How To Install libblas-test on Debian 12

Learn how to install libblas-test on Debian 12 with this tutorial. libblas-test is Basic Linear Algebra Subroutines 3, testing programs

Introduction

In this tutorial we learn how to install libblas-test on Debian 12.

What is libblas-test

libblas-test is:

BLAS (Basic Linear Algebra Subroutines) is a set of efficient routines for most of the basic vector and matrix operations. They are widely used as the basis for other high quality linear algebra software, for example lapack and linpack. This implementation is the Fortran 77 reference implementation found at netlib.

This package contains a set of programs which test the integrity of an installed blas-compatible shared library. These programs may therefore be used to test the libraries provided by the blas package as well as those provided by the libatlas3-base and libopenblas-base packages. The programs are dynamically linked – one can explicitly select a library to test by setting the libblas.so.3 alternative, or by using the LD_LIBRARY_PATH or LD_PRELOAD environment variables. Likewise, one can display the library selected using the ldd program in an identical environment.

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

Install libblas-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 libblas-test using apt-get by running the following command:

sudo apt-get -y install libblas-test

Install libblas-test Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libblas-test

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

sudo aptitude update

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

sudo aptitude -y install libblas-test

How To Uninstall libblas-test on Debian 12

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

sudo apt-get remove libblas-test

Uninstall libblas-test And Its Dependencies

To uninstall libblas-test and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libblas-test

Remove libblas-test Configurations and Data

To remove libblas-test configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libblas-test

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

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

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

Dependencies

libblas-test have the following dependencies:

References

Summary

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