How To Install perl-IRI on Rocky Linux 8

In this tutorial we learn how to install perl-IRI on Rocky Linux 8. perl-IRI is Internationalized Resource Identifiers

Introduction

In this tutorial we learn how to install perl-IRI on Rocky Linux 8.

What is perl-IRI

The IRI module provides an object representation for Internationalized Resource Identifiers (IRIs) as defined by RFC 3987 and supports their parsing, serializing, and base resolution.

We can use yum or dnf to install perl-IRI on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-IRI.

Install perl-IRI 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-IRI using dnf by running the following command:

sudo dnf -y install perl-IRI

Install perl-IRI 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-IRI using yum by running the following command:

sudo yum -y install perl-IRI

How To Uninstall perl-IRI on Rocky Linux 8

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

sudo dnf remove perl-IRI

perl-IRI Package Contents on Rocky Linux 8

/usr/share/doc/perl-IRI
/usr/share/doc/perl-IRI/Changes.ttl
/usr/share/doc/perl-IRI/README
/usr/share/man/man3/IRI.3pm.gz
/usr/share/perl5/vendor_perl/IRI.pm

References

Summary

In this tutorial we learn how to install perl-IRI on Rocky Linux 8 using yum and dnf.