How To Install perl-XML-Merge on CentOS 7
Introduction
In this tutorial we learn how to install perl-XML-Merge
on CentOS 7.
What is perl-XML-Merge
This module inherits from XML XML 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 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 CentOS 7. 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 CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install perl-XML-Merge
using yum
by running the following command:
sudo yum -y install perl-XML-Merge
Install perl-XML-Merge on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
sudo dnf makecache
After updating yum database, We can install perl-XML-Merge
using dnf
by running the following command:
sudo dnf -y install perl-XML-Merge
How To Uninstall perl-XML-Merge on CentOS 7
To uninstall only the perl-XML-Merge
package we can use the following command:
sudo dnf remove perl-XML-Merge
References
Summary
In this tutorial we learn how to install perl-XML-Merge
on CentOS 7 using yum
and dnf
.