How To Install perl-Test-HasVersion on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-Test-HasVersion
on Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 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 Rocky Linux 8
To uninstall only the perl-Test-HasVersion
package we can use the following command:
sudo dnf remove perl-Test-HasVersion
perl-Test-HasVersion Package Contents on Rocky Linux 8
/usr/bin/test_version
/usr/share/doc/perl-Test-HasVersion
/usr/share/doc/perl-Test-HasVersion/Changes
/usr/share/doc/perl-Test-HasVersion/README
/usr/share/licenses/perl-Test-HasVersion
/usr/share/licenses/perl-Test-HasVersion/LICENSE
/usr/share/man/man3/Test::HasVersion.3pm.gz
/usr/share/perl5/vendor_perl/Test
/usr/share/perl5/vendor_perl/Test/HasVersion.pm
References
Summary
In this tutorial we learn how to install perl-Test-HasVersion
on Rocky Linux 8 using yum and dnf.