How To Install perl-Test-HasVersion on AlmaLinux 8
Introduction
In this tutorial we learn how to install perl-Test-HasVersion
on AlmaLinux 8.
What is perl-Test-HasVersion
Do you want to check that every one of your Perl modules in a distribution has a version number? You want to make sure you don’t forget the brand new modules you just added? Well, this is the module you have been looking for. Do you want to check someone else’s distribution to make sure the author has not committed the sin of leaving Perl modules without a version that can be used to tell if you have this or that feature? Test you.
We can use yum
or dnf
to install perl-Test-HasVersion
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Test-HasVersion.
Install perl-Test-HasVersion 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-Test-HasVersion
using dnf
by running the following command:
sudo dnf -y install perl-Test-HasVersion
Install perl-Test-HasVersion 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-Test-HasVersion
using yum
by running the following command:
sudo yum -y install perl-Test-HasVersion
How To Uninstall perl-Test-HasVersion on AlmaLinux 8
To uninstall only the perl-Test-HasVersion
package we can use the following command:
sudo dnf remove perl-Test-HasVersion
References
Summary
In this tutorial we learn how to install perl-Test-HasVersion
on AlmaLinux 8 using yum and dnf.