How To Install stax-ex.noarch on Amazon Linux 2

In this tutorial we learn how to install stax-ex.noarch in Amazon Linux 2. stax-ex.noarch is StAX API extensions

Introduction

In this tutorial we learn how to install stax-ex.noarch on Amazon Linux 2.

What is stax-ex.noarch

This project develops a few extensions to complement JSR-173 StAX API in the following area. * Enable parser instance reuse (which is important in the high-performance environment like JAXB and JAX-WS) * Improve the support for reading from non-text XML infoset, such as FastInfoset. * Improve the namespace support.

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

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

sudo yum -y install stax-ex.noarch

How To Uninstall stax-ex.noarch on Amazon Linux 2

To uninstall only the stax-ex.noarch package we can use the following command:

sudo yum remove stax-ex.noarch

stax-ex.noarch Package Contents on Amazon Linux 2

/usr/share/doc/stax-ex-1.7.1
/usr/share/doc/stax-ex-1.7.1/LICENSE.txt
/usr/share/java/stax-ex.jar
/usr/share/maven-effective-poms/JPP-stax-ex.pom
/usr/share/maven-fragments/stax-ex.xml
/usr/share/maven-poms/JPP-stax-ex.pom

References

Summary

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