How To Install perl-Mouse on AlmaLinux 8
Introduction
In this tutorial we learn how to install perl-Mouse
on AlmaLinux 8.
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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Mouse.
Install perl-Mouse on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install perl-Mouse
using dnf
by running the following command:
sudo dnf -y install perl-Mouse
Install perl-Mouse on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install perl-Mouse
using yum
by running the following command:
sudo yum -y install perl-Mouse
How To Uninstall perl-Mouse on AlmaLinux 8
To uninstall only the perl-Mouse
package we can use the following command:
sudo dnf remove perl-Mouse
References
Summary
In this tutorial we learn how to install perl-Mouse
on AlmaLinux 8 using yum and dnf.