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

In this tutorial we learn how to install perl-CPAN-Meta.noarch in Amazon Linux 2. perl-CPAN-Meta.noarch is Distribution metadata for a CPAN dist

Introduction

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

What is perl-CPAN-Meta.noarch

Software distributions released to the CPAN include a META.json or, for older distributions, META.yml, which describes the distribution, its contents, and the requirements for building and installing the distribution. The data structure stored in the META.json file is described in CPAN

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

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

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

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

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

sudo yum remove perl-CPAN-Meta.noarch

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

/usr/share/doc/perl-CPAN-Meta-2.120921
/usr/share/doc/perl-CPAN-Meta-2.120921/Changes
/usr/share/doc/perl-CPAN-Meta-2.120921/LICENSE
/usr/share/doc/perl-CPAN-Meta-2.120921/README
/usr/share/doc/perl-CPAN-Meta-2.120921/Todo
/usr/share/doc/perl-CPAN-Meta-2.120921/history
/usr/share/doc/perl-CPAN-Meta-2.120921/history/META-spec-1_0.html
/usr/share/doc/perl-CPAN-Meta-2.120921/history/META-spec-1_1.html
/usr/share/doc/perl-CPAN-Meta-2.120921/history/META-spec-1_2.pod
/usr/share/doc/perl-CPAN-Meta-2.120921/history/META-spec-1_3.pod
/usr/share/doc/perl-CPAN-Meta-2.120921/history/META-spec-1_4.pod
/usr/share/doc/perl-CPAN-Meta-2.120921/t
/usr/share/doc/perl-CPAN-Meta-2.120921/t/00-compile.t
/usr/share/doc/perl-CPAN-Meta-2.120921/t/converter-bad.t
/usr/share/doc/perl-CPAN-Meta-2.120921/t/converter-fail.t
/usr/share/doc/perl-CPAN-Meta-2.120921/t/converter.t
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/107650337-META.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/1122575719-META.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/1206545041-META.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/1598804075-META.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/1927486199-META.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/1985684504-META.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/1985980974-META.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/2031017050-META.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/284247103-META.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/344981821-META.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/35478989-META.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/476602558-META.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/98042513-META.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/META-1_0.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/META-1_1.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/META-1_2.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/META-1_3.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/META-1_4.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/META-2.json
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/restrictive-2.json
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-bad/version-ranges-2.json
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-fail
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-fail/META-1_0.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-fail/META-1_1.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-fail/META-1_2.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-fail/META-1_3.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-fail/META-1_4.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data-fail/META-2.json
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data/META-1_0.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data/META-1_1.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data/META-1_2.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data/META-1_3.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data/META-1_4.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data/META-2.json
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data/gpl-1_4.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data/resources.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data/restricted-2.json
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data/restrictive-1_4.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data/unicode.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data/version-not-normal.json
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data/version-ranges-1_4.yml
/usr/share/doc/perl-CPAN-Meta-2.120921/t/data/version-ranges-2.json
/usr/share/doc/perl-CPAN-Meta-2.120921/t/load-bad.t
/usr/share/doc/perl-CPAN-Meta-2.120921/t/meta-obj.t
/usr/share/doc/perl-CPAN-Meta-2.120921/t/no-index.t
/usr/share/doc/perl-CPAN-Meta-2.120921/t/prereqs-finalize.t
/usr/share/doc/perl-CPAN-Meta-2.120921/t/prereqs-merge.t
/usr/share/doc/perl-CPAN-Meta-2.120921/t/prereqs.t
/usr/share/doc/perl-CPAN-Meta-2.120921/t/repository.t
/usr/share/doc/perl-CPAN-Meta-2.120921/t/save-load.t
/usr/share/doc/perl-CPAN-Meta-2.120921/t/strings.t
/usr/share/doc/perl-CPAN-Meta-2.120921/t/validator.t
/usr/share/man/man3/CPAN::Meta.3pm.gz
/usr/share/man/man3/CPAN::Meta::Converter.3pm.gz
/usr/share/man/man3/CPAN::Meta::Feature.3pm.gz
/usr/share/man/man3/CPAN::Meta::History.3pm.gz
/usr/share/man/man3/CPAN::Meta::Prereqs.3pm.gz
/usr/share/man/man3/CPAN::Meta::Spec.3pm.gz
/usr/share/man/man3/CPAN::Meta::Validator.3pm.gz
/usr/share/perl5/vendor_perl/CPAN
/usr/share/perl5/vendor_perl/CPAN/Meta
/usr/share/perl5/vendor_perl/CPAN/Meta.pm
/usr/share/perl5/vendor_perl/CPAN/Meta/Converter.pm
/usr/share/perl5/vendor_perl/CPAN/Meta/Feature.pm
/usr/share/perl5/vendor_perl/CPAN/Meta/History.pm
/usr/share/perl5/vendor_perl/CPAN/Meta/Prereqs.pm
/usr/share/perl5/vendor_perl/CPAN/Meta/Spec.pm
/usr/share/perl5/vendor_perl/CPAN/Meta/Validator.pm

References

Summary

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