How To Install perl-URI-Query on Fedora 36

In this tutorial we learn how to install perl-URI-Query in Fedora 36. perl-URI-Query is Class providing URI query string manipulation

Introduction

In this tutorial we learn how to install perl-URI-Query on Fedora 36.

What is perl-URI-Query

URI create and manipulate URI query strings from GET and POST requests in web applications. This is primarily useful for creating links where you wish to preserve some subset of the parameters to the current request, and potentially add or replace others. Given a query string this is doable with regular expressions, of course, but making sure you get the anchoring and escaping right is tedious and error-prone - this module is simpler.

We can use yum or dnf to install perl-URI-Query on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-URI-Query.

Install perl-URI-Query on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-URI-Query using dnf by running the following command:

sudo dnf -y install perl-URI-Query

Install perl-URI-Query on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-URI-Query using yum by running the following command:

sudo yum -y install perl-URI-Query

How To Uninstall perl-URI-Query on Fedora 36

To uninstall only the perl-URI-Query package we can use the following command:

sudo dnf remove perl-URI-Query

perl-URI-Query Package Contents on Fedora 36

/usr/share/doc/perl-URI-Query
/usr/share/doc/perl-URI-Query/ChangeLog
/usr/share/doc/perl-URI-Query/README
/usr/share/doc/perl-URI-Query/TODO
/usr/share/licenses/perl-URI-Query
/usr/share/licenses/perl-URI-Query/LICENSE
/usr/share/man/man3/URI::Query.3pm.gz
/usr/share/perl5/vendor_perl/URI
/usr/share/perl5/vendor_perl/URI/Query.pm

References

Summary

In this tutorial we learn how to install perl-URI-Query on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).