How To Install perl-Module-Install on CentOS 7

In this tutorial we learn how to install perl-Module-Install on CentOS 7. perl-Module-Install is Standalone, extensible Perl module installer

Introduction

In this tutorial we learn how to install perl-Module-Install on CentOS 7.

What is perl-Module-Install

Module CPAN-like) distributions that are clean, simple, minimalist, act in a strictly correct manner with ExtUtils run on any Perl installation version 5.005 or newer.

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

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

sudo yum -y install perl-Module-Install

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

sudo dnf -y install perl-Module-Install

How To Uninstall perl-Module-Install on CentOS 7

To uninstall only the perl-Module-Install package we can use the following command:

sudo dnf remove perl-Module-Install

References

Summary

In this tutorial we learn how to install perl-Module-Install on CentOS 7 using yum and dnf.