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

In this tutorial we learn how to install perl-Test-CPAN-Meta.noarch in Amazon Linux 2. perl-Test-CPAN-Meta.noarch is Validation of the META.yml file in a CPAN distribution

Introduction

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

What is perl-Test-CPAN-Meta.noarch

This module was written to ensure that a META.yml file, provided with a standard distribution uploaded to CPAN, meets the specifications that are slowly being introduced to module uploads, via the use of package makers and installers such as ExtUtils

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

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

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

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

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

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

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

/usr/share/doc/perl-Test-CPAN-Meta-0.23
/usr/share/doc/perl-Test-CPAN-Meta-0.23/Changes
/usr/share/doc/perl-Test-CPAN-Meta-0.23/LICENSE
/usr/share/doc/perl-Test-CPAN-Meta-0.23/README
/usr/share/doc/perl-Test-CPAN-Meta-0.23/examples
/usr/share/doc/perl-Test-CPAN-Meta-0.23/examples/94metatest.t
/usr/share/doc/perl-Test-CPAN-Meta-0.23/examples/98metatest.t
/usr/share/doc/perl-Test-CPAN-Meta-0.23/examples/examples.txt
/usr/share/man/man3/Test::CPAN::Meta.3pm.gz
/usr/share/man/man3/Test::CPAN::Meta::Version.3pm.gz
/usr/share/perl5/vendor_perl/Test
/usr/share/perl5/vendor_perl/Test/CPAN
/usr/share/perl5/vendor_perl/Test/CPAN/Meta
/usr/share/perl5/vendor_perl/Test/CPAN/Meta.pm
/usr/share/perl5/vendor_perl/Test/CPAN/Meta/Version.pm

References

Summary

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