How To Install libb2 on CentOS 7

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

Introduction

In this tutorial we learn how to install libb2 on CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libb2.

Install libb2 on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install libb2

Install libb2 on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install libb2

How To Uninstall libb2 on CentOS 7

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

sudo dnf remove libb2

References

Summary

In this tutorial we learn how to install libb2 on CentOS 7 using yum and dnf.