How To Install xmlunit.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install xmlunit.noarch
on Amazon Linux 2.
What is xmlunit.noarch
XMLUnit extends JUnit to simplify unit testing of XML. It compares a control XML document to a test document or the result of a transformation, validates documents against a DTD, and (from v0.5) compares the results of XPath expressions.
We can use yum
to install xmlunit.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install xmlunit.noarch.
Install xmlunit.noarch on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install xmlunit.noarch
using yum
by running the following command:
sudo yum -y install xmlunit.noarch
How To Uninstall xmlunit.noarch on Amazon Linux 2
To uninstall only the xmlunit.noarch
package we can use the following command:
sudo yum remove xmlunit.noarch
xmlunit.noarch Package Contents on Amazon Linux 2
/usr/share/doc/xmlunit-1.4
/usr/share/doc/xmlunit-1.4/LICENSE.txt
/usr/share/doc/xmlunit-1.4/README.txt
/usr/share/doc/xmlunit-1.4/XMLUnit-Java.pdf
/usr/share/java/xmlunit.jar
/usr/share/maven-fragments/xmlunit
/usr/share/maven-poms/JPP-xmlunit.pom
References
Summary
In this tutorial we learn how to install xmlunit.noarch
on Amazon Linux 2 using yum.