How To Install perl-Module-Pluggable.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-Module-Pluggable.noarch in Amazon Linux 2. perl-Module-Pluggable.noarch is Automatically give your module the ability to have plugins

Introduction

In this tutorial we learn how to install perl-Module-Pluggable.noarch on Amazon Linux 2.

What is perl-Module-Pluggable.noarch

This package provides a simple but, hopefully, extensible way of having ‘plugins’ for your module. Essentially all it does is export a method into your name space that looks through a search path for .pm files and turn those into class names. Optionally it instantiates those classes for you.

We can use yum to install perl-Module-Pluggable.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Module-Pluggable.noarch.

Install perl-Module-Pluggable.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Module-Pluggable.noarch using yum by running the following command:

sudo yum -y install perl-Module-Pluggable.noarch

How To Uninstall perl-Module-Pluggable.noarch on Amazon Linux 2

To uninstall only the perl-Module-Pluggable.noarch package we can use the following command:

sudo yum remove perl-Module-Pluggable.noarch

perl-Module-Pluggable.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-Module-Pluggable-4.8
/usr/share/doc/perl-Module-Pluggable-4.8/Changes
/usr/share/doc/perl-Module-Pluggable-4.8/README
/usr/share/man/man3/Devel::InnerPackage.3pm.gz
/usr/share/man/man3/Module::Pluggable.3pm.gz
/usr/share/man/man3/Module::Pluggable::Object.3pm.gz
/usr/share/perl5/vendor_perl/Devel
/usr/share/perl5/vendor_perl/Devel/InnerPackage.pm
/usr/share/perl5/vendor_perl/Module
/usr/share/perl5/vendor_perl/Module/Pluggable
/usr/share/perl5/vendor_perl/Module/Pluggable.pm
/usr/share/perl5/vendor_perl/Module/Pluggable/Object.pm

References

Summary

In this tutorial we learn how to install perl-Module-Pluggable.noarch on Amazon Linux 2 using yum.