How To Install perl-Test-CPAN-Meta on CentOS 7

In this tutorial we learn how to install perl-Test-CPAN-Meta on CentOS 7. perl-Test-CPAN-Meta is Validation of the META.yml file in a CPAN distribution

Introduction

In this tutorial we learn how to install perl-Test-CPAN-Meta on CentOS 7.

What is perl-Test-CPAN-Meta

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 or dnf to install perl-Test-CPAN-Meta on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Test-CPAN-Meta.

Install perl-Test-CPAN-Meta on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install perl-Test-CPAN-Meta using yum by running the following command:

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

Install perl-Test-CPAN-Meta on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install perl-Test-CPAN-Meta using dnf by running the following command:

sudo dnf -y install perl-Test-CPAN-Meta

How To Uninstall perl-Test-CPAN-Meta on CentOS 7

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

sudo dnf remove perl-Test-CPAN-Meta

References

Summary

In this tutorial we learn how to install perl-Test-CPAN-Meta on CentOS 7 using yum and dnf.