How To Install perl-URI-FromHash on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-URI-FromHash
on Rocky Linux 8.
What is perl-URI-FromHash
This module provides a simple one-subroutine “named parameters” style interface for creating URIs. Underneath the hood it uses ‘URI.pm’, though because of the simplified interface it may not support all possible options for all types of URIs. It was created for the common case where you simply want to have a simple interface for creating syntactically correct URIs from known components (like a path and query string). Doing this using the native ‘URI.pm’ interface is rather tedious, requiring a number of method calls, which is particularly ugly when done inside a templating system such as Mason or TT2.
We can use yum
or dnf
to install perl-URI-FromHash
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-URI-FromHash.
Install perl-URI-FromHash 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-URI-FromHash
using dnf
by running the following command:
sudo dnf -y install perl-URI-FromHash
Install perl-URI-FromHash 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-URI-FromHash
using yum
by running the following command:
sudo yum -y install perl-URI-FromHash
How To Uninstall perl-URI-FromHash on Rocky Linux 8
To uninstall only the perl-URI-FromHash
package we can use the following command:
sudo dnf remove perl-URI-FromHash
perl-URI-FromHash Package Contents on Rocky Linux 8
/usr/share/doc/perl-URI-FromHash
/usr/share/doc/perl-URI-FromHash/Changes
/usr/share/licenses/perl-URI-FromHash
/usr/share/licenses/perl-URI-FromHash/LICENSE
/usr/share/man/man3/URI::FromHash.3pm.gz
/usr/share/perl5/vendor_perl/URI
/usr/share/perl5/vendor_perl/URI/FromHash.pm
References
Summary
In this tutorial we learn how to install perl-URI-FromHash
on Rocky Linux 8 using yum and dnf.