How To Install perl-XML-Bare on Fedora 36

In this tutorial we learn how to install perl-XML-Bare in Fedora 36. perl-XML-Bare is Minimal XML parser implemented via a C state engine

Introduction

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

What is perl-XML-Bare

This module is a ‘Bare’ XML parser. It is implemented in C. The parser itself is a simple state engine that is less than 500 lines of C. The parser builds a C struct tree from input text. That C struct tree is converted to a Perl hash by a Perl function that makes basic calls back to the C to go through the nodes sequentially.

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

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

sudo dnf -y install perl-XML-Bare

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

sudo yum -y install perl-XML-Bare

How To Uninstall perl-XML-Bare on Fedora 36

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

sudo dnf remove perl-XML-Bare

perl-XML-Bare Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/6644202d7a9570cfcf8034dab289c0e6927472
/usr/lib64/perl5/vendor_perl/XML
/usr/lib64/perl5/vendor_perl/XML/Bare.pm
/usr/lib64/perl5/vendor_perl/auto/XML
/usr/lib64/perl5/vendor_perl/auto/XML/Bare
/usr/lib64/perl5/vendor_perl/auto/XML/Bare/Bare.so
/usr/share/doc/perl-XML-Bare
/usr/share/doc/perl-XML-Bare/Changes
/usr/share/doc/perl-XML-Bare/README
/usr/share/man/man3/XML::Bare.3pm.gz

References

Summary

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