How To Install perl-Module-Build on CentOS 7
Introduction
In this tutorial we learn how to install perl-Module-Build
on CentOS 7.
What is perl-Module-Build
Module Perl modules. It is meant to be an alternative to ExtUtils module through sub-classing in a much more straightforward way than with MakeMaker. It also does not require a make on your system - most of the Module in a very cross-platform way. In fact, you don’t even need a shell, so even platforms like MacOS (traditional) can use it fairly easily. Its only prerequisites are modules that are included with perl 5.6.0, and it works fine on perl 5.005 if you can install a few additional modules.
We can use yum
or dnf
to install perl-Module-Build
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Module-Build.
Install perl-Module-Build on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install perl-Module-Build
using yum
by running the following command:
Install perl-Module-Build 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.
After updating yum database, We can install perl-Module-Build
using dnf
by running the following command:
How To Uninstall perl-Module-Build on CentOS 7
To uninstall only the perl-Module-Build
package we can use the following command:
References
Summary
In this tutorial we learn how to install perl-Module-Build
on CentOS 7 using yum
and dnf
.