How To Install perl-Mojo-DOM58 on Fedora 36

In this tutorial we learn how to install perl-Mojo-DOM58 in Fedora 36. perl-Mojo-DOM58 is Minimalistic HTML/XML DOM parser with CSS selectors

Introduction

In this tutorial we learn how to install perl-Mojo-DOM58 on Fedora 36.

What is perl-Mojo-DOM58

Mojo supports the HTML Living Standard and Extensible Markup Language (XML) 1.0, and matching based on CSS3 selectors. It will even try to interpret broken HTML and XML, so you should not use it for validation.

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

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

sudo dnf -y install perl-Mojo-DOM58

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

sudo yum -y install perl-Mojo-DOM58

How To Uninstall perl-Mojo-DOM58 on Fedora 36

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

sudo dnf remove perl-Mojo-DOM58

perl-Mojo-DOM58 Package Contents on Fedora 36

/usr/share/doc/perl-Mojo-DOM58
/usr/share/doc/perl-Mojo-DOM58/CONTRIBUTING.md
/usr/share/doc/perl-Mojo-DOM58/Changes
/usr/share/doc/perl-Mojo-DOM58/README
/usr/share/doc/perl-Mojo-DOM58/examples
/usr/share/doc/perl-Mojo-DOM58/examples/entities.pl
/usr/share/licenses/perl-Mojo-DOM58
/usr/share/licenses/perl-Mojo-DOM58/LICENSE
/usr/share/man/man3/Mojo::DOM58.3pm.gz
/usr/share/man/man3/Mojo::DOM58::Entities.3pm.gz
/usr/share/perl5/vendor_perl/Mojo
/usr/share/perl5/vendor_perl/Mojo/DOM58
/usr/share/perl5/vendor_perl/Mojo/DOM58.pm
/usr/share/perl5/vendor_perl/Mojo/DOM58/Entities.pm
/usr/share/perl5/vendor_perl/Mojo/DOM58/_CSS.pm
/usr/share/perl5/vendor_perl/Mojo/DOM58/_Collection.pm
/usr/share/perl5/vendor_perl/Mojo/DOM58/_HTML.pm

References

Summary

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