How To Install blis on CentOS 8

blis is BLAS-like Library Instantiation Software Framework

Introduction

In this tutorial we learn how to install blis on CentOS 8.

What is blis

BLIS is a portable software framework for instantiating high-performance BLAS-like dense linear algebra libraries. The framework was designed to isolate essential kernels of computation that, when optimized, immediately enable optimized implementations of most of its commonly used and computationally intensive operations. While BLIS exports a new BLAS-like API, it also includes a BLAS compatibility layer which gives application developers access to BLIS implementations via traditional BLAS routine calls. This packaging contains automatically-dispatched architecture-optimized kernels for some targets, notably recent x86_64. This is the serial version.

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

Install blis on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install blis

Install blis on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install blis

How To Uninstall blis on CentOS 8

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

sudo dnf remove blis

blis Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/46
/usr/lib/.build-id/46/a64b9117e164eead313a36f606b4fc0a544498
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/770d8b66fae49611dc69ee8e178ad96719614c
/usr/lib64/blisblas
/usr/lib64/blisblas/libblas.so
/usr/lib64/blisblas/libblas.so.3
/usr/lib64/libblis.so.2
/usr/lib64/libblis.so.2.1.0
/usr/share/doc/blis
/usr/share/doc/blis/CHANGELOG.gz
/usr/share/doc/blis/CREDITS
/usr/share/doc/blis/README.Fedora
/usr/share/doc/blis/README.md
/usr/share/licenses/blis
/usr/share/licenses/blis/LICENSE

References

Summary

In this tutorial we learn how to install blis on CentOS 8 using yum and dnf.