How To Install perl-HTML-Tree on Fedora 36

In this tutorial we learn how to install perl-HTML-Tree in Fedora 36. perl-HTML-Tree is HTML tree handling modules for Perl

Introduction

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

What is perl-HTML-Tree

This distribution contains a suite of modules for representing, creating, and extracting information from HTML syntax trees; there is also relevant documentation. These modules used to be part of the libwww-perl distribution, but are now unbundled in order to facilitate a separate development track.

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

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

sudo dnf -y install perl-HTML-Tree

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

sudo yum -y install perl-HTML-Tree

How To Uninstall perl-HTML-Tree on Fedora 36

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

sudo dnf remove perl-HTML-Tree

perl-HTML-Tree Package Contents on Fedora 36

/usr/bin/htmltree
/usr/share/doc/perl-HTML-Tree
/usr/share/doc/perl-HTML-Tree/Changes
/usr/share/doc/perl-HTML-Tree/README
/usr/share/doc/perl-HTML-Tree/TODO
/usr/share/man/man1/htmltree.1.gz
/usr/share/man/man3/HTML::AsSubs.3pm.gz
/usr/share/man/man3/HTML::Element.3pm.gz
/usr/share/man/man3/HTML::Element::traverse.3pm.gz
/usr/share/man/man3/HTML::Parse.3pm.gz
/usr/share/man/man3/HTML::Tree.3pm.gz
/usr/share/man/man3/HTML::Tree::AboutObjects.3pm.gz
/usr/share/man/man3/HTML::Tree::AboutTrees.3pm.gz
/usr/share/man/man3/HTML::Tree::Scanning.3pm.gz
/usr/share/man/man3/HTML::TreeBuilder.3pm.gz
/usr/share/perl5/vendor_perl/HTML
/usr/share/perl5/vendor_perl/HTML/AsSubs.pm
/usr/share/perl5/vendor_perl/HTML/Element
/usr/share/perl5/vendor_perl/HTML/Element.pm
/usr/share/perl5/vendor_perl/HTML/Element/traverse.pm
/usr/share/perl5/vendor_perl/HTML/Parse.pm
/usr/share/perl5/vendor_perl/HTML/Tree
/usr/share/perl5/vendor_perl/HTML/Tree.pm
/usr/share/perl5/vendor_perl/HTML/Tree/AboutObjects.pod
/usr/share/perl5/vendor_perl/HTML/Tree/AboutTrees.pod
/usr/share/perl5/vendor_perl/HTML/Tree/Scanning.pod
/usr/share/perl5/vendor_perl/HTML/TreeBuilder.pm

References

Summary

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