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

In this tutorial we learn how to install perl-Digest-MD5.x86_64 in Amazon Linux 2. perl-Digest-MD5.x86_64 is Perl interface to the MD5 algorithm

Introduction

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

What is perl-Digest-MD5.x86_64

The Digest Inc. MD5 Message Digest algorithm from within Perl programs. The algorithm takes as input a message of arbitrary length and produces as output a 128-bit “fingerprint” or “message digest” of the input.

We can use yum to install perl-Digest-MD5.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-MD5.x86_64.

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

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

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

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

sudo yum remove perl-Digest-MD5.x86_64

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

/usr/lib64/perl5/vendor_perl/Digest
/usr/lib64/perl5/vendor_perl/Digest/MD5.pm
/usr/lib64/perl5/vendor_perl/auto/Digest
/usr/lib64/perl5/vendor_perl/auto/Digest/MD5
/usr/lib64/perl5/vendor_perl/auto/Digest/MD5/MD5.so
/usr/share/doc/perl-Digest-MD5-2.52
/usr/share/doc/perl-Digest-MD5-2.52/Changes
/usr/share/doc/perl-Digest-MD5-2.52/README
/usr/share/man/man3/Digest::MD5.3pm.gz

References

Summary

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