How To Install sgml-common.noarch on Amazon Linux 2

In this tutorial we learn how to install sgml-common.noarch in Amazon Linux 2. sgml-common.noarch is Common SGML catalog and DTD files

Introduction

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

What is sgml-common.noarch

The sgml-common package contains a collection of entities and DTDs that are useful for processing SGML, but that don’t need to be included in multiple packages. Sgml-common also includes an up-to-date Open Catalog file.

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

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

sudo yum -y install sgml-common.noarch

How To Uninstall sgml-common.noarch on Amazon Linux 2

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

sudo yum remove sgml-common.noarch

sgml-common.noarch Package Contents on Amazon Linux 2

/etc/sgml
/etc/sgml/catalog
/etc/sgml/sgml.conf
/usr/bin/install-catalog
/usr/bin/sgmlwhich
/usr/share/doc/sgml-common-0.6.3
/usr/share/doc/sgml-common-0.6.3/AUTHORS
/usr/share/doc/sgml-common-0.6.3/COPYING
/usr/share/doc/sgml-common-0.6.3/ChangeLog
/usr/share/doc/sgml-common-0.6.3/NEWS
/usr/share/doc/sgml-common-0.6.3/README
/usr/share/doc/sgml-common-0.6.3/html
/usr/share/doc/sgml-common-0.6.3/html/fdl.html
/usr/share/doc/sgml-common-0.6.3/html/index.html
/usr/share/doc/sgml-common-0.6.3/html/install-catalog.html
/usr/share/doc/sgml-common-0.6.3/html/introduction.html
/usr/share/man/man8/install-catalog.8.gz
/usr/share/sgml
/usr/share/sgml/html.dcl
/usr/share/sgml/html.soc
/usr/share/sgml/sgml-iso-entities-8879.1986
/usr/share/sgml/sgml-iso-entities-8879.1986/ISOamsa.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/ISOamsb.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/ISOamsc.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/ISOamsn.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/ISOamso.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/ISOamsr.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/ISObox.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/ISOcyr1.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/ISOcyr2.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/ISOdia.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/ISOgrk1.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/ISOgrk2.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/ISOgrk3.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/ISOgrk4.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/ISOlat1.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/ISOlat2.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/ISOnum.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/ISOpub.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/ISOtech.ent
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
/usr/share/sgml/xml.dcl
/usr/share/sgml/xml.soc

References

Summary

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