How To Install perl-IO-HTML on Rocky Linux 8

In this tutorial we learn how to install perl-IO-HTML on Rocky Linux 8. perl-IO-HTML is Open an HTML file with automatic character set detection

Introduction

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

What is perl-IO-HTML

IO automatically determining its encoding. It uses the HTML5 encoding sniffing algorithm specified in section 8.2.2.1 of the draft standard.

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

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

sudo dnf -y install perl-IO-HTML

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

sudo yum -y install perl-IO-HTML

How To Uninstall perl-IO-HTML on Rocky Linux 8

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

sudo dnf remove perl-IO-HTML

perl-IO-HTML Package Contents on Rocky Linux 8

/usr/share/doc/perl-IO-HTML
/usr/share/doc/perl-IO-HTML/Changes
/usr/share/doc/perl-IO-HTML/LICENSE
/usr/share/doc/perl-IO-HTML/README
/usr/share/man/man3/IO::HTML.3pm.gz
/usr/share/perl5/vendor_perl/IO
/usr/share/perl5/vendor_perl/IO/HTML.pm

References

Summary

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