How To Install perl-Digest-HMAC.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-Digest-HMAC.noarch in Amazon Linux 2. perl-Digest-HMAC.noarch is Keyed-Hashing for Message Authentication

Introduction

In this tutorial we learn how to install perl-Digest-HMAC.noarch on Amazon Linux 2.

What is perl-Digest-HMAC.noarch

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 takes the secret key and the name of some other simple Digest argument.

We can use yum to install perl-Digest-HMAC.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Digest-HMAC.noarch.

Install perl-Digest-HMAC.noarch on Amazon Linux 2 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.noarch using yum by running the following command:

sudo yum -y install perl-Digest-HMAC.noarch

How To Uninstall perl-Digest-HMAC.noarch on Amazon Linux 2

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

sudo yum remove perl-Digest-HMAC.noarch

perl-Digest-HMAC.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-Digest-HMAC-1.03
/usr/share/doc/perl-Digest-HMAC-1.03/Changes
/usr/share/doc/perl-Digest-HMAC-1.03/README
/usr/share/man/man3/Digest::HMAC.3pm.gz
/usr/share/man/man3/Digest::HMAC_MD5.3pm.gz
/usr/share/man/man3/Digest::HMAC_SHA1.3pm.gz
/usr/share/perl5/vendor_perl/Digest
/usr/share/perl5/vendor_perl/Digest/HMAC.pm
/usr/share/perl5/vendor_perl/Digest/HMAC_MD5.pm
/usr/share/perl5/vendor_perl/Digest/HMAC_SHA1.pm

References

Summary

In this tutorial we learn how to install perl-Digest-HMAC.noarch on Amazon Linux 2 using yum.