How To Install rngom on CentOS 7

In this tutorial we learn how to install rngom on CentOS 7. rngom is Java library for parsing RELAX NG grammars

Introduction

In this tutorial we learn how to install rngom on CentOS 7.

What is rngom

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

Install rngom on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install rngom using yum by running the following command:

sudo yum -y install rngom

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

sudo dnf -y install rngom

How To Uninstall rngom on CentOS 7

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

sudo dnf remove rngom

References

Summary

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