How To Install libb2 on Rocky Linux 8

In this tutorial we learn how to install libb2 on Rocky Linux 8. libb2 is C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp

Introduction

In this tutorial we learn how to install libb2 on Rocky Linux 8.

What is libb2

C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp. BLAKE2 is a cryptographic hash function faster than MD5, SHA-1, SHA-2, and SHA-3, yet is at least as secure as the latest standard SHA-3.

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

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

sudo dnf -y install libb2

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

sudo yum -y install libb2

How To Uninstall libb2 on Rocky Linux 8

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

sudo dnf remove libb2

libb2 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/e07079b89435d2fae5677d43a8f0290e3ee48c
/usr/lib64/libb2.so.1
/usr/lib64/libb2.so.1.0.4
/usr/share/licenses/libb2
/usr/share/licenses/libb2/COPYING

References

Summary

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