How To Install perl-MRO-Compat on AlmaLinux 8
Introduction
In this tutorial we learn how to install perl-MRO-Compat on AlmaLinux 8.
What is perl-MRO-Compat
The “mro” namespace provides several utilities for dealing with method resolution order and method caching in general in Perl 5.9.5 and higher. This module provides those interfaces for earlier versions of Perl (back to 5.6.0 anyways). It is a harmless no-op to use this module on 5.9.5+. That is to say, code which properly uses MRO Perls and 5.9.5+. If you’re writing a piece of software that would like to use the parts of 5.9.5+’s mro compatibility with older Perls, this is the module for you.
We can use yum or dnf to install perl-MRO-Compat on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-MRO-Compat.
Install perl-MRO-Compat 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-MRO-Compat using dnf by running the following command:
sudo dnf -y install perl-MRO-Compat
Install perl-MRO-Compat 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-MRO-Compat using yum by running the following command:
sudo yum -y install perl-MRO-Compat
How To Uninstall perl-MRO-Compat on AlmaLinux 8
To uninstall only the perl-MRO-Compat package we can use the following command:
sudo dnf remove perl-MRO-Compat
References
Summary
In this tutorial we learn how to install perl-MRO-Compat on AlmaLinux 8 using yum and dnf.