How To Install perl-PathTools on Rocky Linux 8

In this tutorial we learn how to install perl-PathTools on Rocky Linux 8. perl-PathTools is PathTools Perl module (Cwd, File

Introduction

In this tutorial we learn how to install perl-PathTools on Rocky Linux 8.

What is perl-PathTools

This is the combined distribution for the File

We can use yum or dnf to install perl-PathTools on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-PathTools.

Install perl-PathTools on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-PathTools using dnf by running the following command:

sudo dnf -y install perl-PathTools

Install perl-PathTools on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-PathTools using yum by running the following command:

sudo yum -y install perl-PathTools

How To Uninstall perl-PathTools on Rocky Linux 8

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

sudo dnf remove perl-PathTools

perl-PathTools Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/d1c7642b75a28ab7246d3c4eea17d6a9772e4a
/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/AmigaOS.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
/usr/share/doc/perl-PathTools/Changes
/usr/share/man/man3/Cwd.3pm.gz
/usr/share/man/man3/File::Spec.3pm.gz
/usr/share/man/man3/File::Spec::AmigaOS.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 on Rocky Linux 8 using yum and dnf.