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

In this tutorial we learn how to install perl-Test-CPAN-Meta-JSON on CentOS 7. perl-Test-CPAN-Meta-JSON is Validate a META.json file within a CPAN distribution

Introduction

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

What is perl-Test-CPAN-Meta-JSON

This module was written to ensure that a META.json file, provided with a standard distribution uploaded to CPAN, meets the specifications that are slowly being introduced to module uploads, via the use of ExtUtils Module See CPAN

We can use yum or dnf to install perl-Test-CPAN-Meta-JSON 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-JSON.

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

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

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

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

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

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

sudo dnf remove perl-Test-CPAN-Meta-JSON

References

Summary

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