How To Install rngom.noarch on Amazon Linux 2

In this tutorial we learn how to install rngom.noarch in Amazon Linux 2. rngom.noarch is Java library for parsing RELAX NG grammars

Introduction

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

What is rngom.noarch

RNGOM is an open-source Java library for parsing RELAX NG grammars. In particular, RNGOM can * parse the XML syntax * parse the compact syntax * check all the semantic restrictions as specified in the specification * parse RELAX NG into application-defined data structures * build a default data structure based around the binarized simple syntax or another data structure that preserves more of the parsed information * parse foreign elements/attributes in a schema * parse comments in a schema

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

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

sudo yum -y install rngom.noarch

How To Uninstall rngom.noarch on Amazon Linux 2

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

sudo yum remove rngom.noarch

rngom.noarch Package Contents on Amazon Linux 2

/usr/share/java/rngom.jar
/usr/share/maven-fragments/rngom
/usr/share/maven-poms/JPP-rngom.pom

References

Summary

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