How To Install libblis3 on Ubuntu 22.04

In this tutorial we learn how to install libblis3 on Ubuntu 22.04. libblis3 is BLAS-like Library Instantiation Software Framework (32bit,meta)

Introduction

In this tutorial we learn how to install libblis3 on Ubuntu 22.04.

What is libblis3

libblis3 is:

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. BLIS is written in ISO C99 and available under a new/modified/3-clause BSD license. 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. An object-based API is also available for more experienced users.

The package pulls one of the 32-bit-BlasInt shared library variants.

There are three methods to install libblis3 on Ubuntu 22.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libblis3 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libblis3 using apt-get by running the following command:

sudo apt-get -y install libblis3

Install libblis3 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libblis3 using apt by running the following command:

sudo apt -y install libblis3

Install libblis3 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libblis3 using aptitude by running the following command:

sudo aptitude -y install libblis3

How To Uninstall libblis3 on Ubuntu 22.04

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

sudo apt-get remove libblis3

Uninstall libblis3 And Its Dependencies

To uninstall libblis3 and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove libblis3

Remove libblis3 Configurations and Data

To remove libblis3 configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge libblis3

Remove libblis3 configuration, data, and all of its dependencies

We can use the following command to remove libblis3 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libblis3

References

Summary

In this tutorial we learn how to install libblis3 package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.