How To Install perl-Digest-HMAC on AlmaLinux 8

In this tutorial we learn how to install perl-Digest-HMAC in AlmaLinux 8. perl-Digest-HMAC is Keyed-Hashing for Message Authentication

Introduction

In this tutorial we learn how to install perl-Digest-HMAC on AlmaLinux 8.

What is perl-Digest-HMAC

HMAC is used for message integrity checks between two parties that share a secret key, and works in combination with some other Digest algorithm, usually MD5 or SHA-1. The HMAC mechanism is described in RFC 2104. HMAC follow the common Digest the secret key and the name of some other simple Digest

We can use yum or dnf to install perl-Digest-HMAC on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Digest-HMAC.

Install perl-Digest-HMAC on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Digest-HMAC using dnf by running the following command:

sudo dnf -y install perl-Digest-HMAC

Install perl-Digest-HMAC on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Digest-HMAC using yum by running the following command:

sudo yum -y install perl-Digest-HMAC

How To Uninstall perl-Digest-HMAC on AlmaLinux 8

To uninstall only the perl-Digest-HMAC package we can use the following command:

sudo dnf remove perl-Digest-HMAC

References

Summary

In this tutorial we learn how to install perl-Digest-HMAC on AlmaLinux 8 using yum and dnf.