How To Install dtdinst.noarch on Amazon Linux 2

In this tutorial we learn how to install dtdinst.noarch in Amazon Linux 2. dtdinst.noarch is XML DTD to XML instance format converter

Introduction

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

What is dtdinst.noarch

DTDinst is a program for converting XML DTDs into an XML instance format.

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

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

sudo yum -y install dtdinst.noarch

How To Uninstall dtdinst.noarch on Amazon Linux 2

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

sudo yum remove dtdinst.noarch

dtdinst.noarch Package Contents on Amazon Linux 2

/usr/bin/dtdinst
/usr/share/doc/dtdinst-20091111
/usr/share/doc/dtdinst-20091111/copying.txt
/usr/share/doc/dtdinst-20091111/dtdinst.rnc.txt
/usr/share/doc/dtdinst-20091111/dtdinst.rng
/usr/share/doc/dtdinst-20091111/dtdinst2rng.xsl
/usr/share/doc/dtdinst-20091111/example
/usr/share/doc/dtdinst-20091111/example/attributeDefault.dtd.txt
/usr/share/doc/dtdinst-20091111/example/attributeDefault.xml
/usr/share/doc/dtdinst-20091111/example/attributeGroup.dtd.txt
/usr/share/doc/dtdinst-20091111/example/attributeGroup.xml
/usr/share/doc/dtdinst-20091111/example/datatype.dtd.txt
/usr/share/doc/dtdinst-20091111/example/datatype.xml
/usr/share/doc/dtdinst-20091111/example/enumGroup.dtd.txt
/usr/share/doc/dtdinst-20091111/example/enumGroup.xml
/usr/share/doc/dtdinst-20091111/example/externalId.dtd.txt
/usr/share/doc/dtdinst-20091111/example/externalId.ent
/usr/share/doc/dtdinst-20091111/example/externalId.xml
/usr/share/doc/dtdinst-20091111/example/flag.dtd.txt
/usr/share/doc/dtdinst-20091111/example/flag.xml
/usr/share/doc/dtdinst-20091111/example/modelGroup.dtd.txt
/usr/share/doc/dtdinst-20091111/example/modelGroup.xml
/usr/share/doc/dtdinst-20091111/example/nameSpec.dtd.txt
/usr/share/doc/dtdinst-20091111/example/nameSpec.xml
/usr/share/doc/dtdinst-20091111/example/overridden.dtd.txt
/usr/share/doc/dtdinst-20091111/example/overridden.xml
/usr/share/doc/dtdinst-20091111/example/param.dtd.txt
/usr/share/doc/dtdinst-20091111/example/param.xml
/usr/share/doc/dtdinst-20091111/index.html
/usr/share/doc/dtdinst-20091111/teixml.dtd.txt
/usr/share/java/dtdinst.jar

References

Summary

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