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

In this tutorial we learn how to install perl-Module-Implementation on Rocky Linux 8. perl-Module-Implementation is Loads one of several alternate underlying implementations for a module

Introduction

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

What is perl-Module-Implementation

This module abstracts out the process of choosing one of several underlying implementations for a module. This can be used to provide XS and pure Perl implementations of a module, or it could be used to load an implementation for a given OS or any other case of needing to provide multiple implementations. This module is only useful when you know all the implementations ahead of time. If you want to load arbitrary implementations then you probably want something like a plugin system, not this module.

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

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

sudo dnf -y install perl-Module-Implementation

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

sudo yum -y install perl-Module-Implementation

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

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

sudo dnf remove perl-Module-Implementation

perl-Module-Implementation Package Contents on Rocky Linux 8

/usr/share/doc/perl-Module-Implementation
/usr/share/doc/perl-Module-Implementation/Changes
/usr/share/doc/perl-Module-Implementation/README.md
/usr/share/licenses/perl-Module-Implementation
/usr/share/licenses/perl-Module-Implementation/LICENSE
/usr/share/man/man3/Module::Implementation.3pm.gz
/usr/share/perl5/vendor_perl/Module
/usr/share/perl5/vendor_perl/Module/Implementation.pm

References

Summary

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