How To Install glassfish-fastinfoset.noarch on Amazon Linux 2

In this tutorial we learn how to install glassfish-fastinfoset.noarch in Amazon Linux 2. glassfish-fastinfoset.noarch is Fast Infoset

Introduction

In this tutorial we learn how to install glassfish-fastinfoset.noarch on Amazon Linux 2.

What is glassfish-fastinfoset.noarch

Fast Infoset specifies a standardized binary encoding for the XML Information Set. An XML infoset (such as a DOM tree, StAX events or SAX events in programmatic representations) may be serialized to an XML 1.x document or, as specified by the Fast Infoset standard, may be serialized to a fast infoset document. Fast infoset documents are generally smaller in size and faster to parse and serialize than equivalent XML documents.

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

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

sudo yum -y install glassfish-fastinfoset.noarch

How To Uninstall glassfish-fastinfoset.noarch on Amazon Linux 2

To uninstall only the glassfish-fastinfoset.noarch package we can use the following command:

sudo yum remove glassfish-fastinfoset.noarch

glassfish-fastinfoset.noarch Package Contents on Amazon Linux 2

/usr/share/java/glassfish-fastinfoset
/usr/share/java/glassfish-fastinfoset/FastInfoset.jar
/usr/share/maven-effective-poms/JPP.glassfish-fastinfoset-FastInfoset.pom
/usr/share/maven-fragments/glassfish-fastinfoset.xml
/usr/share/maven-poms/JPP.glassfish-fastinfoset-FastInfoset.pom
/usr/share/maven-poms/JPP.glassfish-fastinfoset-fastinfoset-project.pom

References

Summary

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