How To Install apache-commons-jxpath on Fedora 36

In this tutorial we learn how to install apache-commons-jxpath in Fedora 36. apache-commons-jxpath is Simple XPath interpreter

Introduction

In this tutorial we learn how to install apache-commons-jxpath on Fedora 36.

What is apache-commons-jxpath

Defines a simple interpreter of an expression language called XPath. JXPath applies XPath expressions to graphs of objects of all kinds JavaBeans, Maps, Servlet contexts, DOM etc, including mixtures thereof.

We can use yum or dnf to install apache-commons-jxpath on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install apache-commons-jxpath.

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

sudo dnf -y install apache-commons-jxpath

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

sudo yum -y install apache-commons-jxpath

How To Uninstall apache-commons-jxpath on Fedora 36

To uninstall only the apache-commons-jxpath package we can use the following command:

sudo dnf remove apache-commons-jxpath

apache-commons-jxpath Package Contents on Fedora 36

/usr/share/java/apache-commons-jxpath.jar
/usr/share/java/commons-jxpath.jar
/usr/share/licenses/apache-commons-jxpath
/usr/share/licenses/apache-commons-jxpath/LICENSE.txt
/usr/share/licenses/apache-commons-jxpath/NOTICE.txt
/usr/share/maven-metadata/apache-commons-jxpath.xml
/usr/share/maven-poms/apache-commons-jxpath.pom
/usr/share/maven-poms/commons-jxpath.pom

References

Summary

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