How To Install perl-asa on CentOS 7
Introduction
In this tutorial we learn how to install perl-asa
on CentOS 7.
What is perl-asa
Perl 5 doesn’t natively support Java-style interfaces, and it doesn’t support Perl 6 style roles either. You can get both of these things in half a dozen different ways via various CPAN modules, but they usually require that you buy into “their way” of implementing your code. This package overrides the isa() method, allowing your class to claim it’s a class it’s not (that is, isn’t in @ISA).
We can use yum
or dnf
to install perl-asa
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-asa.
Install perl-asa on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install perl-asa
using yum
by running the following command:
Install perl-asa 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-asa
using dnf
by running the following command:
How To Uninstall perl-asa on CentOS 7
To uninstall only the perl-asa
package we can use the following command:
References
Summary
In this tutorial we learn how to install perl-asa
on CentOS 7 using yum
and dnf
.