How To Install glassfish-fastinfoset on CentOS 7

In this tutorial we learn how to install glassfish-fastinfoset on CentOS 7. glassfish-fastinfoset is Fast Infoset

Introduction

In this tutorial we learn how to install glassfish-fastinfoset on CentOS 7.

What is glassfish-fastinfoset

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 or dnf to install glassfish-fastinfoset on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install glassfish-fastinfoset.

Install glassfish-fastinfoset on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install glassfish-fastinfoset using yum by running the following command:

sudo yum -y install glassfish-fastinfoset

Install glassfish-fastinfoset on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install glassfish-fastinfoset using dnf by running the following command:

sudo dnf -y install glassfish-fastinfoset

How To Uninstall glassfish-fastinfoset on CentOS 7

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

sudo dnf remove glassfish-fastinfoset

References

Summary

In this tutorial we learn how to install glassfish-fastinfoset on CentOS 7 using yum and dnf.