How To Install perl-Digest-SHA1.x86_64 on Amazon Linux 2

In this tutorial we learn how to install perl-Digest-SHA1.x86_64 in Amazon Linux 2. perl-Digest-SHA1.x86_64 is Digest-SHA1 Perl module

Introduction

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

What is perl-Digest-SHA1.x86_64

The Digest digest algorithm from within Perl programs. The algorithm takes as input a message of arbitrary length and produces as output a 160-bit “fingerprint” or “message digest” of the input. The Digest use, as well as an object oriented interface that can handle messages of arbitrary length and which can read files directly. A binary digest will be 20 bytes long. A hex digest will be 40 characters long. A base64 digest will be 27 characters long.

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

Install perl-Digest-SHA1.x86_64 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-SHA1.x86_64 using yum by running the following command:

sudo yum -y install perl-Digest-SHA1.x86_64

How To Uninstall perl-Digest-SHA1.x86_64 on Amazon Linux 2

To uninstall only the perl-Digest-SHA1.x86_64 package we can use the following command:

sudo yum remove perl-Digest-SHA1.x86_64

perl-Digest-SHA1.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/perl5/vendor_perl/Digest
/usr/lib64/perl5/vendor_perl/Digest/SHA1.pm
/usr/lib64/perl5/vendor_perl/auto/Digest
/usr/lib64/perl5/vendor_perl/auto/Digest/SHA1
/usr/lib64/perl5/vendor_perl/auto/Digest/SHA1/SHA1.so
/usr/share/doc/perl-Digest-SHA1-2.13
/usr/share/doc/perl-Digest-SHA1-2.13/Changes
/usr/share/doc/perl-Digest-SHA1-2.13/README
/usr/share/doc/perl-Digest-SHA1-2.13/fip180-1.gif
/usr/share/doc/perl-Digest-SHA1-2.13/fip180-1.html
/usr/share/man/man3/Digest::SHA1.3pm.gz

References

Summary

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