How To Install perl-PAR on Rocky Linux 8

In this tutorial we learn how to install perl-PAR on Rocky Linux 8. perl-PAR is Perl Archive Toolkit

Introduction

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

What is perl-PAR

This module lets you use special zip files, called Perl Archives, as libraries from which Perl modules can be loaded.

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

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

sudo dnf -y install perl-PAR

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

sudo yum -y install perl-PAR

How To Uninstall perl-PAR on Rocky Linux 8

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

sudo dnf remove perl-PAR

perl-PAR Package Contents on Rocky Linux 8

/usr/share/doc/perl-PAR
/usr/share/doc/perl-PAR/AUTHORS
/usr/share/doc/perl-PAR/Changes
/usr/share/doc/perl-PAR/README
/usr/share/licenses/perl-PAR
/usr/share/licenses/perl-PAR/LICENSE
/usr/share/man/man3/PAR.3pm.gz
/usr/share/man/man3/PAR::Environment.3pm.gz
/usr/share/man/man3/PAR::FAQ.3pm.gz
/usr/share/man/man3/PAR::Heavy.3pm.gz
/usr/share/man/man3/PAR::SetupProgname.3pm.gz
/usr/share/man/man3/PAR::SetupTemp.3pm.gz
/usr/share/man/man3/PAR::Tutorial.3pm.gz
/usr/share/perl5/vendor_perl/PAR
/usr/share/perl5/vendor_perl/PAR.pm
/usr/share/perl5/vendor_perl/PAR/Environment.pod
/usr/share/perl5/vendor_perl/PAR/FAQ.pod
/usr/share/perl5/vendor_perl/PAR/Heavy.pm
/usr/share/perl5/vendor_perl/PAR/SetupProgname.pm
/usr/share/perl5/vendor_perl/PAR/SetupTemp.pm
/usr/share/perl5/vendor_perl/PAR/Tutorial.pod

References

Summary

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