How To Install perl-String-CRC32.x86_64 on Amazon Linux 2

In this tutorial we learn how to install perl-String-CRC32.x86_64 in Amazon Linux 2. perl-String-CRC32.x86_64 is Perl interface for cyclic redundancy check generation

Introduction

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

What is perl-String-CRC32.x86_64

This packages provides a perl module to generate checksums from strings and from files. The checksums are the same as those calculated by ZMODEM, PKZIP, PICCHECK and many others. There’s another perl module called String calculation of CRC values of various widths (i.e. not just 32 bits), but the generated sums differ from those of the programs mentioned above.

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

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

sudo yum -y install perl-String-CRC32.x86_64

How To Uninstall perl-String-CRC32.x86_64 on Amazon Linux 2

To uninstall only the perl-String-CRC32.x86_64 package we can use the following command:

sudo yum remove perl-String-CRC32.x86_64

perl-String-CRC32.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/perl5/vendor_perl/String
/usr/lib64/perl5/vendor_perl/String/CRC32.pm
/usr/lib64/perl5/vendor_perl/String/CRC32.pod
/usr/lib64/perl5/vendor_perl/auto/String
/usr/lib64/perl5/vendor_perl/auto/String/CRC32
/usr/lib64/perl5/vendor_perl/auto/String/CRC32/CRC32.so
/usr/share/doc/perl-String-CRC32-1.4
/usr/share/doc/perl-String-CRC32-1.4/README
/usr/share/man/man3/String::CRC32.3pm.gz

References

Summary

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