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

In this tutorial we learn how to install perl-Module-CoreList.noarch in Amazon Linux 2. perl-Module-CoreList.noarch is Perl core modules indexed by perl versions

Introduction

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

What is perl-Module-CoreList.noarch

Module %Module indicated in $]. The second level hash is module => version pairs.

We can use yum to install perl-Module-CoreList.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-CoreList.noarch.

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

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

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

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

sudo yum remove perl-Module-CoreList.noarch

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

/usr/bin/corelist
/usr/share/man/man1/corelist.1.gz
/usr/share/man/man3/Module::CoreList.3pm.gz
/usr/share/perl5/Module/CoreList.pm

References

Summary

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