How To Install xorg-sgml-doctools.noarch on Amazon Linux 2

In this tutorial we learn how to install xorg-sgml-doctools.noarch in Amazon Linux 2. xorg-sgml-doctools.noarch is X.Org SGML documentation generation tools

Introduction

In this tutorial we learn how to install xorg-sgml-doctools.noarch on Amazon Linux 2.

What is xorg-sgml-doctools.noarch

This package is required in order to generate the X.Org X11 documentation from source.

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

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

sudo yum -y install xorg-sgml-doctools.noarch

How To Uninstall xorg-sgml-doctools.noarch on Amazon Linux 2

To uninstall only the xorg-sgml-doctools.noarch package we can use the following command:

sudo yum remove xorg-sgml-doctools.noarch

xorg-sgml-doctools.noarch Package Contents on Amazon Linux 2

/usr/share/doc/xorg-sgml-doctools-1.10
/usr/share/doc/xorg-sgml-doctools-1.10/COPYING
/usr/share/doc/xorg-sgml-doctools-1.10/ChangeLog
/usr/share/pkgconfig/xorg-sgml-doctools.pc
/usr/share/sgml/X11
/usr/share/sgml/X11/dbs
/usr/share/sgml/X11/dbs/masterdb.html.xml
/usr/share/sgml/X11/dbs/masterdb.pdf.xml
/usr/share/sgml/X11/defs.ent
/usr/share/sgml/X11/xorg-chunk.xsl
/usr/share/sgml/X11/xorg-fo.xsl
/usr/share/sgml/X11/xorg-xhtml.xsl
/usr/share/sgml/X11/xorg.css
/usr/share/sgml/X11/xorg.xsl

References

Summary

In this tutorial we learn how to install xorg-sgml-doctools.noarch on Amazon Linux 2 using yum.