How To Install perl-XML-DOM-XPath on Fedora 36

In this tutorial we learn how to install perl-XML-DOM-XPath in Fedora 36. perl-XML-DOM-XPath is Perl extension to add XPath support to XML

Introduction

In this tutorial we learn how to install perl-XML-DOM-XPath on Fedora 36.

What is perl-XML-DOM-XPath

XML is often much easier than relying only on getElementsByTagName.

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

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

sudo dnf -y install perl-XML-DOM-XPath

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

sudo yum -y install perl-XML-DOM-XPath

How To Uninstall perl-XML-DOM-XPath on Fedora 36

To uninstall only the perl-XML-DOM-XPath package we can use the following command:

sudo dnf remove perl-XML-DOM-XPath

perl-XML-DOM-XPath Package Contents on Fedora 36

/usr/share/doc/perl-XML-DOM-XPath
/usr/share/doc/perl-XML-DOM-XPath/Changes
/usr/share/doc/perl-XML-DOM-XPath/README
/usr/share/man/man3/XML::DOM::XPath.3pm.gz
/usr/share/perl5/vendor_perl/XML
/usr/share/perl5/vendor_perl/XML/DOM
/usr/share/perl5/vendor_perl/XML/DOM/XPath.pm

References

Summary

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