How To Install perl-Path-Class on Rocky Linux 8

In this tutorial we learn how to install perl-Path-Class on Rocky Linux 8. perl-Path-Class is Cross-platform path specification manipulation

Introduction

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

What is perl-Path-Class

Path (strings describing their locations, like ‘/home/ken/foo.txt’ or ‘C platform Perl runs on, including Unix, Windows, Mac, VMS, Epoc, Cygwin, OS/2, and NetWare.

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

Install perl-Path-Class 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-Path-Class using dnf by running the following command:

sudo dnf -y install perl-Path-Class

Install perl-Path-Class 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-Path-Class using yum by running the following command:

sudo yum -y install perl-Path-Class

How To Uninstall perl-Path-Class on Rocky Linux 8

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

sudo dnf remove perl-Path-Class

perl-Path-Class Package Contents on Rocky Linux 8

/usr/share/doc/perl-Path-Class
/usr/share/doc/perl-Path-Class/Changes
/usr/share/doc/perl-Path-Class/README
/usr/share/licenses/perl-Path-Class
/usr/share/licenses/perl-Path-Class/LICENSE
/usr/share/man/man3/Path::Class.3pm.gz
/usr/share/man/man3/Path::Class::Dir.3pm.gz
/usr/share/man/man3/Path::Class::Entity.3pm.gz
/usr/share/man/man3/Path::Class::File.3pm.gz
/usr/share/perl5/vendor_perl/Path
/usr/share/perl5/vendor_perl/Path/Class
/usr/share/perl5/vendor_perl/Path/Class.pm
/usr/share/perl5/vendor_perl/Path/Class/Dir.pm
/usr/share/perl5/vendor_perl/Path/Class/Entity.pm
/usr/share/perl5/vendor_perl/Path/Class/File.pm

References

Summary

In this tutorial we learn how to install perl-Path-Class on Rocky Linux 8 using yum and dnf.