How To Install jaxen.noarch on Amazon Linux 2

In this tutorial we learn how to install jaxen.noarch in Amazon Linux 2. jaxen.noarch is An XPath engine written in Java

Introduction

In this tutorial we learn how to install jaxen.noarch on Amazon Linux 2.

What is jaxen.noarch

Jaxen is an XPath engine written in Java to work against a variety of XML based object models such as DOM, dom4j and JDOM together with Java Beans.

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

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

sudo yum -y install jaxen.noarch

How To Uninstall jaxen.noarch on Amazon Linux 2

To uninstall only the jaxen.noarch package we can use the following command:

sudo yum remove jaxen.noarch

jaxen.noarch Package Contents on Amazon Linux 2

/usr/share/doc/jaxen-1.1.3
/usr/share/doc/jaxen-1.1.3/LICENSE.txt
/usr/share/java/jaxen.jar
/usr/share/maven-fragments/jaxen
/usr/share/maven-poms/JPP-jaxen.pom

References

Summary

In this tutorial we learn how to install jaxen.noarch on Amazon Linux 2 using yum.