How To Install perl-XML-Merge on Fedora 36

In this tutorial we learn how to install perl-XML-Merge in Fedora 36. perl-XML-Merge is Flexibly merge XML documents

Introduction

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

What is perl-XML-Merge

This module inherits from XML This ensures that Merge objects’ indenting can be tidied up after any merge operation since such modification usually spells the ruination of indentation. Polymorphism allows Merge objects to be utilized as normal XML as well. The merging behavior is setup to combine separate XML documents according to certain rules and configurable options. If both documents have root nodes which are elements of the same name, the documents are merged directly. Otherwise, one is merged as a child of the other. An optional XPath location can be specified as the place to perform the merge. If no location is specified, the merge is attempted at the first matching element or is appended as the new last child of the other root if no match is found.

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

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

sudo dnf -y install perl-XML-Merge

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

sudo yum -y install perl-XML-Merge

How To Uninstall perl-XML-Merge on Fedora 36

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

sudo dnf remove perl-XML-Merge

perl-XML-Merge Package Contents on Fedora 36

/usr/share/doc/perl-XML-Merge
/usr/share/doc/perl-XML-Merge/README
/usr/share/licenses/perl-XML-Merge
/usr/share/licenses/perl-XML-Merge/LICENSE
/usr/share/man/man3/XML::Merge.3pm.gz
/usr/share/perl5/vendor_perl/XML
/usr/share/perl5/vendor_perl/XML/Merge.pm

References

Summary

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