How To Install xml-commons-apis on Fedora 36

In this tutorial we learn how to install xml-commons-apis in Fedora 36. xml-commons-apis is APIs for DOM, SAX, and JAXP

Introduction

In this tutorial we learn how to install xml-commons-apis on Fedora 36.

What is xml-commons-apis

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 or dnf to install xml-commons-apis on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install xml-commons-apis.

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

sudo dnf -y install xml-commons-apis

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

sudo yum -y install xml-commons-apis

How To Uninstall xml-commons-apis on Fedora 36

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

sudo dnf remove xml-commons-apis

xml-commons-apis Package Contents on Fedora 36

/usr/share/doc/xml-commons-apis
/usr/share/doc/xml-commons-apis/LICENSE
/usr/share/doc/xml-commons-apis/LICENSE.dom-documentation.txt
/usr/share/doc/xml-commons-apis/LICENSE.dom-software.txt
/usr/share/doc/xml-commons-apis/LICENSE.sac.html
/usr/share/doc/xml-commons-apis/LICENSE.sax.txt
/usr/share/doc/xml-commons-apis/NOTICE
/usr/share/doc/xml-commons-apis/README-sax
/usr/share/doc/xml-commons-apis/README.dom.txt
/usr/share/doc/xml-commons-apis/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-metadata/xml-commons-apis.xml
/usr/share/maven-poms/jaxp.pom
/usr/share/maven-poms/jaxp13.pom
/usr/share/maven-poms/xml-commons-apis-ext.pom
/usr/share/maven-poms/xml-commons-apis.pom
/usr/share/maven-poms/xml-commons-jaxp-1.3-apis.pom

References

Summary

In this tutorial we learn how to install xml-commons-apis on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).