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

In this tutorial we learn how to install perl-PathTools.x86_64 in Amazon Linux 2. perl-PathTools.x86_64 is PathTools Perl module (Cwd, File

Introduction

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

What is perl-PathTools.x86_64

This is the combined distribution for the File modules.

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

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

sudo yum -y install perl-PathTools.x86_64

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

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

sudo yum remove perl-PathTools.x86_64

perl-PathTools.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/perl5/vendor_perl/Cwd.pm
/usr/lib64/perl5/vendor_perl/File
/usr/lib64/perl5/vendor_perl/File/Spec
/usr/lib64/perl5/vendor_perl/File/Spec.pm
/usr/lib64/perl5/vendor_perl/File/Spec/Cygwin.pm
/usr/lib64/perl5/vendor_perl/File/Spec/Epoc.pm
/usr/lib64/perl5/vendor_perl/File/Spec/Functions.pm
/usr/lib64/perl5/vendor_perl/File/Spec/Mac.pm
/usr/lib64/perl5/vendor_perl/File/Spec/OS2.pm
/usr/lib64/perl5/vendor_perl/File/Spec/Unix.pm
/usr/lib64/perl5/vendor_perl/File/Spec/Win32.pm
/usr/lib64/perl5/vendor_perl/auto/Cwd
/usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so
/usr/share/doc/perl-PathTools-3.40
/usr/share/doc/perl-PathTools-3.40/Changes
/usr/share/doc/perl-PathTools-3.40/README
/usr/share/man/man3/Cwd.3pm.gz
/usr/share/man/man3/File::Spec.3pm.gz
/usr/share/man/man3/File::Spec::Cygwin.3pm.gz
/usr/share/man/man3/File::Spec::Epoc.3pm.gz
/usr/share/man/man3/File::Spec::Functions.3pm.gz
/usr/share/man/man3/File::Spec::Mac.3pm.gz
/usr/share/man/man3/File::Spec::OS2.3pm.gz
/usr/share/man/man3/File::Spec::Unix.3pm.gz
/usr/share/man/man3/File::Spec::Win32.3pm.gz

References

Summary

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