How To Install jettison.noarch on Amazon Linux 2

In this tutorial we learn how to install jettison.noarch in Amazon Linux 2. jettison.noarch is A JSON StAX implementation

Introduction

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

What is jettison.noarch

Jettison is a collection of Java APIs (like STaX and DOM) which read and write JSON. This allows nearly transparent enablement of JSON based web services in services frameworks like CXF or XML serialization frameworks like XStream.

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

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

sudo yum -y install jettison.noarch

How To Uninstall jettison.noarch on Amazon Linux 2

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

sudo yum remove jettison.noarch

jettison.noarch Package Contents on Amazon Linux 2

/usr/share/doc/jettison-1.3.3
/usr/share/doc/jettison-1.3.3/LICENSE
/usr/share/java/jettison.jar
/usr/share/maven-effective-poms/JPP-jettison.pom
/usr/share/maven-fragments/jettison.xml
/usr/share/maven-poms/JPP-jettison.pom

References

Summary

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