How To Install openblas-static on Rocky Linux 8

In this tutorial we learn how to install openblas-static on Rocky Linux 8. openblas-static is Static version of OpenBLAS

Introduction

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

What is openblas-static

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 static libraries.

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

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

sudo dnf -y install openblas-static

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

sudo yum -y install openblas-static

How To Uninstall openblas-static on Rocky Linux 8

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

sudo dnf remove openblas-static

openblas-static Package Contents on Rocky Linux 8

/usr/lib/libopenblas.a
/usr/lib/libopenblaso.a
/usr/lib/libopenblasp.a
/usr/lib64/libopenblas.a
/usr/lib64/libopenblas64.a
/usr/lib64/libopenblas64_.a
/usr/lib64/libopenblaso.a
/usr/lib64/libopenblaso64.a
/usr/lib64/libopenblaso64_.a
/usr/lib64/libopenblasp.a
/usr/lib64/libopenblasp64.a
/usr/lib64/libopenblasp64_.a

References

Summary

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