How To Install perl-HTML-Escape on Fedora 36

In this tutorial we learn how to install perl-HTML-Escape in Fedora 36. perl-HTML-Escape is Extremely fast HTML escape

Introduction

In this tutorial we learn how to install perl-HTML-Escape on Fedora 36.

What is perl-HTML-Escape

This Perl module escapes HTML’s special characters. It’s the same as PHP’s htmlspecialchars.

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

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

sudo dnf -y install perl-HTML-Escape

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

sudo yum -y install perl-HTML-Escape

How To Uninstall perl-HTML-Escape on Fedora 36

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

sudo dnf remove perl-HTML-Escape

perl-HTML-Escape Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/480c313cc9e9a81b9d2c3a3e8b13e107d8bb6f
/usr/lib64/perl5/vendor_perl/HTML
/usr/lib64/perl5/vendor_perl/HTML/Escape
/usr/lib64/perl5/vendor_perl/HTML/Escape.pm
/usr/lib64/perl5/vendor_perl/HTML/Escape/PurePerl.pm
/usr/lib64/perl5/vendor_perl/auto/HTML
/usr/lib64/perl5/vendor_perl/auto/HTML/Escape
/usr/lib64/perl5/vendor_perl/auto/HTML/Escape/Escape.so
/usr/share/doc/perl-HTML-Escape
/usr/share/doc/perl-HTML-Escape/Changes
/usr/share/doc/perl-HTML-Escape/README.md
/usr/share/licenses/perl-HTML-Escape
/usr/share/licenses/perl-HTML-Escape/LICENSE
/usr/share/man/man3/HTML::Escape.3pm.gz

References

Summary

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