How To Install trang.noarch on Amazon Linux 2

In this tutorial we learn how to install trang.noarch in Amazon Linux 2. trang.noarch is Multi-format schema converter based on RELAX NG

Introduction

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

What is trang.noarch

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 to install trang.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install trang.noarch.

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

sudo yum -y install trang.noarch

How To Uninstall trang.noarch on Amazon Linux 2

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

sudo yum remove trang.noarch

trang.noarch Package Contents on Amazon Linux 2

/usr/bin/trang
/usr/share/doc/trang-20091111
/usr/share/doc/trang-20091111/copying.txt
/usr/share/doc/trang-20091111/trang-manual.html
/usr/share/java/trang.jar

References

Summary

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