How To Install xerces-j2 on Fedora 36
Introduction
In this tutorial we learn how to install xerces-j2
on Fedora 36.
What is xerces-j2
Welcome to the future! Xerces2 is the next generation of high performance, fully compliant XML parsers in the Apache Xerces family. This new version of Xerces introduces the Xerces Native Interface (XNI), a complete framework for building parser components and configurations that is extremely modular and easy to program. The Apache Xerces2 parser is the reference implementation of XNI but other parser components, configurations, and parsers can be written using the Xerces Native Interface. For complete design and implementation documents, refer to the XNI Manual. Xerces2 is a fully conforming XML Schema processor. For more information, refer to the XML Schema page. Xerces2 also provides a complete implementation of the Document Object Model Level 3 Core and Load/Save W3C Recommendations and provides a complete implementation of the XML Inclusions (XInclude) W3C Recommendation. It also provides support for OASIS XML Catalogs v1.1. Xerces2 is able to parse documents written according to the XML 1.1 Recommendation, except that it does not yet provide an option to enable normalization checking as described in section 2.13 of this specification. It also handles name spaces according to the XML Namespaces 1.1 Recommendation, and will correctly serialize XML 1.1 documents if the DOM level 3 load/save APIs are in use.
We can use yum
or dnf
to install xerces-j2
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install xerces-j2.
Install xerces-j2 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 xerces-j2
using dnf
by running the following command:
sudo dnf -y install xerces-j2
Install xerces-j2 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 xerces-j2
using yum
by running the following command:
sudo yum -y install xerces-j2
How To Uninstall xerces-j2 on Fedora 36
To uninstall only the xerces-j2
package we can use the following command:
sudo dnf remove xerces-j2
xerces-j2 Package Contents on Fedora 36
/usr/bin/xerces-j2-constants
/usr/bin/xerces-j2-version
/usr/share/doc/xerces-j2
/usr/share/doc/xerces-j2/LICENSE
/usr/share/doc/xerces-j2/NOTICE
/usr/share/doc/xerces-j2/README
/usr/share/java/jaxp_parser_impl.jar
/usr/share/java/xerces-j2.jar
/usr/share/man/man1/xerces-j2-constants.1.gz
/usr/share/man/man1/xerces-j2-version.1.gz
/usr/share/maven-metadata/xerces-j2.xml
/usr/share/maven-poms/jaxp_parser_impl.pom
/usr/share/maven-poms/xerces-j2.pom
References
Summary
In this tutorial we learn how to install xerces-j2
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).