How To Install lapack-devel on Rocky Linux 8

In this tutorial we learn how to install lapack-devel on Rocky Linux 8. lapack-devel is LAPACK development libraries

Introduction

In this tutorial we learn how to install lapack-devel on Rocky Linux 8.

What is lapack-devel

LAPACK development libraries (shared).

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

Install lapack-devel 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 lapack-devel using dnf by running the following command:

sudo dnf -y install lapack-devel

Install lapack-devel 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 lapack-devel using yum by running the following command:

sudo yum -y install lapack-devel

How To Uninstall lapack-devel on Rocky Linux 8

To uninstall only the lapack-devel package we can use the following command:

sudo dnf remove lapack-devel

lapack-devel Package Contents on Rocky Linux 8

/usr/include/lapacke
/usr/include/lapacke/lapacke.h
/usr/include/lapacke/lapacke_config.h
/usr/include/lapacke/lapacke_mangling.h
/usr/include/lapacke/lapacke_utils.h
/usr/lib/liblapack.so
/usr/lib/liblapacke.so
/usr/lib/pkgconfig/lapack.pc
/usr/lib/pkgconfig/lapacke.pc
/usr/include/lapacke
/usr/include/lapacke/lapacke.h
/usr/include/lapacke/lapacke_config.h
/usr/include/lapacke/lapacke_mangling.h
/usr/include/lapacke/lapacke_utils.h
/usr/lib64/liblapack.so
/usr/lib64/liblapacke.so
/usr/lib64/pkgconfig/lapack.pc
/usr/lib64/pkgconfig/lapacke.pc

References

Summary

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