How To Install perl-version.x86_64 on Amazon Linux 2

In this tutorial we learn how to install perl-version.x86_64 in Amazon Linux 2. perl-version.x86_64 is Perl extension for Version Objects

Introduction

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

What is perl-version.x86_64

Version objects were added to Perl in 5.10. This module implements version objects for older version of Perl and provides the version object API for all versions of Perl. All previous releases before 0.74 are deprecated and should not be used due to incompatible API changes. Version 0.77 introduces the new ‘parse’ and ‘declare’ methods to standardize usage. You are strongly urged to set 0.77 as a minimum in your code.

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

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

sudo yum -y install perl-version.x86_64

How To Uninstall perl-version.x86_64 on Amazon Linux 2

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

sudo yum remove perl-version.x86_64

perl-version.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/perl5/vendor_perl/auto/version
/usr/lib64/perl5/vendor_perl/auto/version/vxs
/usr/lib64/perl5/vendor_perl/auto/version/vxs/vxs.so
/usr/lib64/perl5/vendor_perl/version
/usr/lib64/perl5/vendor_perl/version.pm
/usr/lib64/perl5/vendor_perl/version.pod
/usr/lib64/perl5/vendor_perl/version/Internals.pod
/usr/lib64/perl5/vendor_perl/version/regex.pm
/usr/lib64/perl5/vendor_perl/version/vpp.pm
/usr/lib64/perl5/vendor_perl/version/vxs.pm
/usr/share/doc/perl-version-0.99.07
/usr/share/doc/perl-version-0.99.07/Changes
/usr/share/doc/perl-version-0.99.07/README
/usr/share/man/man3/version.3pm.gz
/usr/share/man/man3/version::Internals.3pm.gz

References

Summary

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