How To Install openblas-devel on Rocky Linux 8

In this tutorial we learn how to install openblas-devel on Rocky Linux 8. openblas-devel is Development headers and libraries for OpenBLAS

Introduction

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

What is openblas-devel

OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. The project is supported by the Lab of Parallel Software and Computational Science, ISCAS. http This package contains the development headers and libraries.

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

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

sudo dnf -y install openblas-devel

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

sudo yum -y install openblas-devel

How To Uninstall openblas-devel on Rocky Linux 8

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

sudo dnf remove openblas-devel

openblas-devel Package Contents on Rocky Linux 8

/usr/include/openblas
/usr/include/openblas/cblas.h
/usr/include/openblas/f77blas.h
/usr/include/openblas/lapack.h
/usr/include/openblas/lapacke.h
/usr/include/openblas/lapacke_config.h
/usr/include/openblas/lapacke_mangling.h
/usr/include/openblas/lapacke_utils.h
/usr/include/openblas/openblas_config-i386.h
/usr/include/openblas/openblas_config.h
/usr/lib/libopenblas.so
/usr/lib/libopenblaso.so
/usr/lib/libopenblasp.so
/usr/include/openblas
/usr/include/openblas/cblas.h
/usr/include/openblas/f77blas.h
/usr/include/openblas/lapack.h
/usr/include/openblas/lapacke.h
/usr/include/openblas/lapacke_config.h
/usr/include/openblas/lapacke_mangling.h
/usr/include/openblas/lapacke_utils.h
/usr/include/openblas/openblas_config-x86_64.h
/usr/include/openblas/openblas_config.h
/usr/lib64/libopenblas.so
/usr/lib64/libopenblas64.so
/usr/lib64/libopenblas64_.so
/usr/lib64/libopenblaso.so
/usr/lib64/libopenblaso64.so
/usr/lib64/libopenblaso64_.so
/usr/lib64/libopenblasp.so
/usr/lib64/libopenblasp64.so
/usr/lib64/libopenblasp64_.so

References

Summary

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