How To Install jing on CentOS 7
Introduction
In this tutorial we learn how to install jing
on CentOS 7.
What is jing
Jing is a RELAX NG validator written in Java. It implements the RELAX NG 1.0 Specification, RELAX NG Compact Syntax, and parts of RELAX NG DTD Compatibility, specifically checking of ID/IDREF/IDREFS. It also has experimental support for schema languages other than RELAX NG; specifically W3C XML Schema, Schematron 1.5, and Namespace Routing Language.
We can use yum
or dnf
to install jing
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install jing.
Install jing on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install jing
using yum
by running the following command:
sudo yum -y install jing
Install jing 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 jing
using dnf
by running the following command:
sudo dnf -y install jing
How To Uninstall jing on CentOS 7
To uninstall only the jing
package we can use the following command:
sudo dnf remove jing
References
Summary
In this tutorial we learn how to install jing
on CentOS 7 using yum
and dnf
.