How To Install perl-Package-Stash-XS.x86_64 on Amazon Linux 2

In this tutorial we learn how to install perl-Package-Stash-XS.x86_64 in Amazon Linux 2. perl-Package-Stash-XS.x86_64 is Faster and more correct implementation of the Package

Introduction

In this tutorial we learn how to install perl-Package-Stash-XS.x86_64 on Amazon Linux 2.

What is perl-Package-Stash-XS.x86_64

This is a back-end for Package functionality in a way that’s less buggy and much faster. It will be used by default if it’s installed, and should be preferred in all environments with a compiler.

We can use yum to install perl-Package-Stash-XS.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-Package-Stash-XS.x86_64.

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

sudo yum -y install perl-Package-Stash-XS.x86_64

How To Uninstall perl-Package-Stash-XS.x86_64 on Amazon Linux 2

To uninstall only the perl-Package-Stash-XS.x86_64 package we can use the following command:

sudo yum remove perl-Package-Stash-XS.x86_64

perl-Package-Stash-XS.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/perl5/vendor_perl/Package
/usr/lib64/perl5/vendor_perl/Package/Stash
/usr/lib64/perl5/vendor_perl/Package/Stash/XS.pm
/usr/lib64/perl5/vendor_perl/auto/Package
/usr/lib64/perl5/vendor_perl/auto/Package/Stash
/usr/lib64/perl5/vendor_perl/auto/Package/Stash/XS
/usr/lib64/perl5/vendor_perl/auto/Package/Stash/XS/XS.so
/usr/share/doc/perl-Package-Stash-XS-0.26
/usr/share/doc/perl-Package-Stash-XS-0.26/Changes
/usr/share/doc/perl-Package-Stash-XS-0.26/LICENSE
/usr/share/doc/perl-Package-Stash-XS-0.26/README
/usr/share/man/man3/Package::Stash::XS.3pm.gz

References

Summary

In this tutorial we learn how to install perl-Package-Stash-XS.x86_64 on Amazon Linux 2 using yum.