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

In this tutorial we learn how to install perl-Parse-CPAN-Meta.noarch in Amazon Linux 2. perl-Parse-CPAN-Meta.noarch is Parse META.yml and META.json CPAN meta-data files

Introduction

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

What is perl-Parse-CPAN-Meta.noarch

Parse using JSON

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

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

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

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

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

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

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

/usr/share/doc/perl-Parse-CPAN-Meta-1.4404
/usr/share/doc/perl-Parse-CPAN-Meta-1.4404/Changes
/usr/share/man/man3/Parse::CPAN::Meta.3pm.gz
/usr/share/perl5/vendor_perl/Parse
/usr/share/perl5/vendor_perl/Parse/CPAN
/usr/share/perl5/vendor_perl/Parse/CPAN/Meta.pm

References

Summary

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