How To Install lapack64 on Rocky Linux 8

In this tutorial we learn how to install lapack64 on Rocky Linux 8. lapack64 is Numerical linear algebra package libraries

Introduction

In this tutorial we learn how to install lapack64 on Rocky Linux 8.

What is lapack64

LAPACK (Linear Algebra PACKage) is a standard library for numerical linear algebra. LAPACK provides routines for solving systems of simultaneous linear equations, least-squares solutions of linear systems of equations, eigenvalue problems, and singular value problems. Associated matrix factorizations (LU, Cholesky, QR, SVD, Schur, and generalized Schur) and related computations (i.e., reordering of Schur factorizations and estimating condition numbers) are also included. LAPACK can handle dense and banded matrices, but not general sparse matrices. Similar functionality is provided for real and complex matrices in both single and double precision. LAPACK is coded in Fortran90 and built with gcc. This build has 64bit INTEGER support.

We can use yum or dnf to install lapack64 on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install lapack64.

Install lapack64 on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install lapack64 using dnf by running the following command:

sudo dnf -y install lapack64

Install lapack64 on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install lapack64 using yum by running the following command:

sudo yum -y install lapack64

How To Uninstall lapack64 on Rocky Linux 8

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

sudo dnf remove lapack64

lapack64 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/e84ba21253efb6f7df446e7f0c7d3679704459
/usr/lib64/liblapack64_.so.3
/usr/lib64/liblapack64_.so.3.8
/usr/lib64/liblapack64_.so.3.8.0
/usr/share/doc/lapack64
/usr/share/doc/lapack64/LICENSE
/usr/share/doc/lapack64/README.md

References

Summary

In this tutorial we learn how to install lapack64 on Rocky Linux 8 using yum and dnf.