How To Install perl-CPAN-Meta-Requirements.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-CPAN-Meta-Requirements.noarch in Amazon Linux 2. perl-CPAN-Meta-Requirements.noarch is Set of version requirements for a CPAN dist

Introduction

In this tutorial we learn how to install perl-CPAN-Meta-Requirements.noarch on Amazon Linux 2.

What is perl-CPAN-Meta-Requirements.noarch

A CPAN constraints like those specified in the META.yml or META.json files in CPAN distributions. It can be built up by adding more and more constraints, and it will reduce them to the simplest representation.

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

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

sudo yum -y install perl-CPAN-Meta-Requirements.noarch

How To Uninstall perl-CPAN-Meta-Requirements.noarch on Amazon Linux 2

To uninstall only the perl-CPAN-Meta-Requirements.noarch package we can use the following command:

sudo yum remove perl-CPAN-Meta-Requirements.noarch

perl-CPAN-Meta-Requirements.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-CPAN-Meta-Requirements-2.122
/usr/share/doc/perl-CPAN-Meta-Requirements-2.122/Changes
/usr/share/doc/perl-CPAN-Meta-Requirements-2.122/LICENSE
/usr/share/doc/perl-CPAN-Meta-Requirements-2.122/README
/usr/share/doc/perl-CPAN-Meta-Requirements-2.122/README.PATCHING
/usr/share/doc/perl-CPAN-Meta-Requirements-2.122/perlcritic.rc
/usr/share/man/man3/CPAN::Meta::Requirements.3pm.gz
/usr/share/perl5/vendor_perl/CPAN
/usr/share/perl5/vendor_perl/CPAN/Meta
/usr/share/perl5/vendor_perl/CPAN/Meta/Requirements.pm

References

Summary

In this tutorial we learn how to install perl-CPAN-Meta-Requirements.noarch on Amazon Linux 2 using yum.