How To Install perl-Module-Compile on Rocky Linux 8

In this tutorial we learn how to install perl-Module-Compile on Rocky Linux 8. perl-Module-Compile is Perl Module Compilation

Introduction

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

What is perl-Module-Compile

This module provides a system for writing modules that compile other Perl modules.

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

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

sudo dnf -y install perl-Module-Compile

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

sudo yum -y install perl-Module-Compile

How To Uninstall perl-Module-Compile on Rocky Linux 8

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

sudo dnf remove perl-Module-Compile

perl-Module-Compile Package Contents on Rocky Linux 8

/usr/share/doc/perl-Module-Compile
/usr/share/doc/perl-Module-Compile/CONTRIBUTING
/usr/share/doc/perl-Module-Compile/Changes
/usr/share/doc/perl-Module-Compile/README
/usr/share/licenses/perl-Module-Compile
/usr/share/licenses/perl-Module-Compile/LICENSE
/usr/share/man/man3/Module::Compile.3pm.gz
/usr/share/man/man3/Module::Compile::Opt.3pm.gz
/usr/share/man/man3/Module::Optimize.3pm.gz
/usr/share/perl5/vendor_perl/Module
/usr/share/perl5/vendor_perl/Module/Compile
/usr/share/perl5/vendor_perl/Module/Compile.pm
/usr/share/perl5/vendor_perl/Module/Compile.pod
/usr/share/perl5/vendor_perl/Module/Compile/Opt.pm
/usr/share/perl5/vendor_perl/Module/Compile/Opt.pod
/usr/share/perl5/vendor_perl/Module/Optimize.pm
/usr/share/perl5/vendor_perl/Module/Optimize.pod

References

Summary

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