How To Install perl-MetaCPAN-API-Tiny on CentOS 7

In this tutorial we learn how to install perl-MetaCPAN-API-Tiny on CentOS 7. perl-MetaCPAN-API-Tiny is A Tiny API client for MetaCPAN

Introduction

In this tutorial we learn how to install perl-MetaCPAN-API-Tiny on CentOS 7.

What is perl-MetaCPAN-API-Tiny

This is the Tiny version of MetaCPAN compatible API with a few notable exceptions Attributes are direct hash access * The attributes defined using Mo(o|u)se are now accessed via the blessed hash directly. There are no accessors defined to access this elements. Exception handling * Instead of using Try potentially cause issues, so just be aware. Testing * Test exception(). Test absorbed since it is pure perl.

We can use yum or dnf to install perl-MetaCPAN-API-Tiny on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-MetaCPAN-API-Tiny.

Install perl-MetaCPAN-API-Tiny 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-MetaCPAN-API-Tiny using yum by running the following command:

sudo yum -y install perl-MetaCPAN-API-Tiny

Install perl-MetaCPAN-API-Tiny 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-MetaCPAN-API-Tiny using dnf by running the following command:

sudo dnf -y install perl-MetaCPAN-API-Tiny

How To Uninstall perl-MetaCPAN-API-Tiny on CentOS 7

To uninstall only the perl-MetaCPAN-API-Tiny package we can use the following command:

sudo dnf remove perl-MetaCPAN-API-Tiny

References

Summary

In this tutorial we learn how to install perl-MetaCPAN-API-Tiny on CentOS 7 using yum and dnf.