How To Install xml-commons-apis.noarch on Amazon Linux 2

In this tutorial we learn how to install xml-commons-apis.noarch in Amazon Linux 2. xml-commons-apis.noarch is APIs for DOM, SAX, and JAXP

Introduction

In this tutorial we learn how to install xml-commons-apis.noarch on Amazon Linux 2.

What is xml-commons-apis.noarch

xml-commons-apis is designed to organize and have common packaging for the various externally-defined standard interfaces for XML. This includes the DOM, SAX, and JAXP.

We can use yum to install xml-commons-apis.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install xml-commons-apis.noarch.

Install xml-commons-apis.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 xml-commons-apis.noarch using yum by running the following command:

sudo yum -y install xml-commons-apis.noarch

How To Uninstall xml-commons-apis.noarch on Amazon Linux 2

To uninstall only the xml-commons-apis.noarch package we can use the following command:

sudo yum remove xml-commons-apis.noarch

xml-commons-apis.noarch Package Contents on Amazon Linux 2

/usr/share/doc/xml-commons-apis-1.4.01
/usr/share/doc/xml-commons-apis-1.4.01/LICENSE
/usr/share/doc/xml-commons-apis-1.4.01/LICENSE.dom-documentation.txt
/usr/share/doc/xml-commons-apis-1.4.01/LICENSE.dom-software.txt
/usr/share/doc/xml-commons-apis-1.4.01/LICENSE.sac.html
/usr/share/doc/xml-commons-apis-1.4.01/LICENSE.sax.txt
/usr/share/doc/xml-commons-apis-1.4.01/NOTICE
/usr/share/doc/xml-commons-apis-1.4.01/README-sax
/usr/share/doc/xml-commons-apis-1.4.01/README.dom.txt
/usr/share/doc/xml-commons-apis-1.4.01/README.sax.txt
/usr/share/java/jaxp.jar
/usr/share/java/jaxp13.jar
/usr/share/java/xml-commons-apis-ext.jar
/usr/share/java/xml-commons-apis.jar
/usr/share/java/xml-commons-jaxp-1.3-apis.jar
/usr/share/maven-fragments/xml-commons-apis
/usr/share/maven-poms/JPP-xml-commons-apis-ext.pom
/usr/share/maven-poms/JPP-xml-commons-apis.pom

References

Summary

In this tutorial we learn how to install xml-commons-apis.noarch on Amazon Linux 2 using yum.