How To Install perl-Mouse on CentOS 7
Introduction
In this tutorial we learn how to install perl-Mouse
on CentOS 7.
What is perl-Mouse
Moose, a powerful metaobject-fueled extension of the Perl 5 object system, is wonderful. (For more information on Moose, please see ‘perldoc Moose’ after installing the perl-Moose package.) Unfortunately, it’s a little slow. Though significant progress has been made over the years, the compile time penalty is a non-starter for some applications. Mouse aims to alleviate this by providing a subset of Moose’s functionality, faster.
We can use yum
or dnf
to install perl-Mouse
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Mouse.
Install perl-Mouse on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install perl-Mouse
using yum
by running the following command:
Install perl-Mouse 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-Mouse
using dnf
by running the following command:
How To Uninstall perl-Mouse on CentOS 7
To uninstall only the perl-Mouse
package we can use the following command:
References
Summary
In this tutorial we learn how to install perl-Mouse
on CentOS 7 using yum
and dnf
.