How To Install perl-XML-DTDParser on Fedora 36

In this tutorial we learn how to install perl-XML-DTDParser in Fedora 36. perl-XML-DTDParser is Quick and dirty DTD parser

Introduction

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

What is perl-XML-DTDParser

This module parses a DTD file and creates a data structure containing info about all tags, their allowed parameters, children, parents, optionality, and others.

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

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

sudo dnf -y install perl-XML-DTDParser

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

sudo yum -y install perl-XML-DTDParser

How To Uninstall perl-XML-DTDParser on Fedora 36

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

sudo dnf remove perl-XML-DTDParser

perl-XML-DTDParser Package Contents on Fedora 36

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

References

Summary

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