How To Install apache-commons-jxpath.noarch on Amazon Linux 2

In this tutorial we learn how to install apache-commons-jxpath.noarch in Amazon Linux 2. apache-commons-jxpath.noarch is Simple XPath interpreter

Introduction

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

What is apache-commons-jxpath.noarch

Defines a simple interpreter of an expression language called XPath. JXPath applies XPath expressions to graphs of objects of all kinds mixtures thereof.

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

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

sudo yum -y install apache-commons-jxpath.noarch

How To Uninstall apache-commons-jxpath.noarch on Amazon Linux 2

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

sudo yum remove apache-commons-jxpath.noarch

apache-commons-jxpath.noarch Package Contents on Amazon Linux 2

/usr/share/doc/apache-commons-jxpath-1.3
/usr/share/doc/apache-commons-jxpath-1.3/LICENSE.txt
/usr/share/doc/apache-commons-jxpath-1.3/NOTICE.txt
/usr/share/java/apache-commons-jxpath.jar
/usr/share/java/commons-jxpath.jar
/usr/share/maven-effective-poms/JPP-apache-commons-jxpath.pom
/usr/share/maven-effective-poms/JPP-commons-jxpath.pom
/usr/share/maven-fragments/apache-commons-jxpath.xml
/usr/share/maven-poms/JPP-apache-commons-jxpath.pom
/usr/share/maven-poms/JPP-commons-jxpath.pom

References

Summary

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