How To Install trang on CentOS 7

In this tutorial we learn how to install trang on CentOS 7. trang is Multi-format schema converter based on RELAX NG

Introduction

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

What is trang

Trang converts between different schema languages for XML. It supports the following languages syntax), XML 1.0 DTDs, W3C XML Schema. A schema written in any of the supported schema languages can be converted into any of the other supported schema languages, except that W3C XML Schema is supported for output only, not for input.

We can use yum or dnf to install trang on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install trang.

Install trang on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install trang

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

sudo dnf -y install trang

How To Uninstall trang on CentOS 7

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

sudo dnf remove trang

References

Summary

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