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

In this tutorial we learn how to install perl-Readonly-XS.x86_64 in Amazon Linux 2. perl-Readonly-XS.x86_64 is Companion module for Readonly

Introduction

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

What is perl-Readonly-XS.x86_64

Readonly read-only scalar variables.

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

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

sudo yum -y install perl-Readonly-XS.x86_64

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

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

sudo yum remove perl-Readonly-XS.x86_64

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

/usr/lib64/perl5/vendor_perl/Readonly
/usr/lib64/perl5/vendor_perl/Readonly/XS.pm
/usr/lib64/perl5/vendor_perl/auto/Readonly
/usr/lib64/perl5/vendor_perl/auto/Readonly/XS
/usr/lib64/perl5/vendor_perl/auto/Readonly/XS/XS.so
/usr/share/doc/perl-Readonly-XS-1.05
/usr/share/doc/perl-Readonly-XS-1.05/Changes
/usr/share/doc/perl-Readonly-XS-1.05/README
/usr/share/doc/perl-Readonly-XS-1.05/t
/usr/share/doc/perl-Readonly-XS-1.05/t/test.t
/usr/share/man/man3/Readonly::XS.3pm.gz

References

Summary

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