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

In this tutorial we learn how to install perl-Module-Metadata.noarch in Amazon Linux 2. perl-Module-Metadata.noarch is Gather package and POD information from perl module files

Introduction

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

What is perl-Module-Metadata.noarch

This module provides a standard way to gather metadata about a .pm file through (mostly) static analysis and (some) code execution. When determining the version of a module, the $VERSION assignment is evaled, as is traditional in the CPAN toolchain.

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

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

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

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

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

sudo yum remove perl-Module-Metadata.noarch

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

/usr/share/doc/perl-Module-Metadata-1.000018
/usr/share/doc/perl-Module-Metadata-1.000018/Changes
/usr/share/doc/perl-Module-Metadata-1.000018/README
/usr/share/man/man3/Module::Metadata.3pm.gz
/usr/share/perl5/vendor_perl/Module
/usr/share/perl5/vendor_perl/Module/Metadata.pm

References

Summary

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