How To Install perl-XML-Parser on Fedora 36

In this tutorial we learn how to install perl-XML-Parser in Fedora 36. perl-XML-Parser is Perl module for parsing XML documents

Introduction

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

What is perl-XML-Parser

This module provides ways to parse XML documents. It is built on top of XML Clark’s expat library. Each call to one of the parsing methods creates a new instance of XML document. Expat options may be provided when the XML created. These options are then passed on to the Expat object on each parse call. They can also be given as extra arguments to the parse methods, in which case they override options given at XML creation time.

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

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

sudo dnf -y install perl-XML-Parser

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

sudo yum -y install perl-XML-Parser

How To Uninstall perl-XML-Parser on Fedora 36

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

sudo dnf remove perl-XML-Parser

perl-XML-Parser Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/95
/usr/lib/.build-id/95/94ca6d8216ad88203cc31e5a2fa5c5f4e946f7
/usr/lib64/perl5/vendor_perl/XML
/usr/lib64/perl5/vendor_perl/XML/Parser
/usr/lib64/perl5/vendor_perl/XML/Parser.pm
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/Japanese_Encodings.msg
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/README
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/big5.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/euc-kr.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/ibm866.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/iso-8859-15.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/iso-8859-2.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/iso-8859-3.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/iso-8859-4.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/iso-8859-5.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/iso-8859-7.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/iso-8859-8.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/iso-8859-9.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/koi8-r.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/windows-1250.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/windows-1251.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/windows-1252.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/windows-1255.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/x-euc-jp-jisx0221.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/x-euc-jp-unicode.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/x-sjis-cp932.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/x-sjis-jdk117.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/x-sjis-jisx0221.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Encodings/x-sjis-unicode.enc
/usr/lib64/perl5/vendor_perl/XML/Parser/Expat.pm
/usr/lib64/perl5/vendor_perl/XML/Parser/LWPExternEnt.pl
/usr/lib64/perl5/vendor_perl/XML/Parser/Style
/usr/lib64/perl5/vendor_perl/XML/Parser/Style/Debug.pm
/usr/lib64/perl5/vendor_perl/XML/Parser/Style/Objects.pm
/usr/lib64/perl5/vendor_perl/XML/Parser/Style/Stream.pm
/usr/lib64/perl5/vendor_perl/XML/Parser/Style/Subs.pm
/usr/lib64/perl5/vendor_perl/XML/Parser/Style/Tree.pm
/usr/lib64/perl5/vendor_perl/auto/XML
/usr/lib64/perl5/vendor_perl/auto/XML/Parser
/usr/lib64/perl5/vendor_perl/auto/XML/Parser/Expat
/usr/lib64/perl5/vendor_perl/auto/XML/Parser/Expat/Expat.so
/usr/share/doc/perl-XML-Parser
/usr/share/doc/perl-XML-Parser/Changes
/usr/share/doc/perl-XML-Parser/README
/usr/share/doc/perl-XML-Parser/samples
/usr/share/doc/perl-XML-Parser/samples/REC-xml-19980210.xml
/usr/share/doc/perl-XML-Parser/samples/canonical
/usr/share/doc/perl-XML-Parser/samples/canontst.xml
/usr/share/doc/perl-XML-Parser/samples/ctest.dtd
/usr/share/doc/perl-XML-Parser/samples/xmlcomments
/usr/share/doc/perl-XML-Parser/samples/xmlfilter
/usr/share/doc/perl-XML-Parser/samples/xmlstats
/usr/share/man/man3/XML::Parser.3pm.gz
/usr/share/man/man3/XML::Parser::Expat.3pm.gz
/usr/share/man/man3/XML::Parser::Style::Debug.3pm.gz
/usr/share/man/man3/XML::Parser::Style::Objects.3pm.gz
/usr/share/man/man3/XML::Parser::Style::Stream.3pm.gz
/usr/share/man/man3/XML::Parser::Style::Subs.3pm.gz
/usr/share/man/man3/XML::Parser::Style::Tree.3pm.gz

References

Summary

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