How To Install docbook-simple.noarch on Amazon Linux 2

In this tutorial we learn how to install docbook-simple.noarch in Amazon Linux 2. docbook-simple.noarch is Simplified DocBook is a small subset of the DocBook XML DTD

Introduction

In this tutorial we learn how to install docbook-simple.noarch on Amazon Linux 2.

What is docbook-simple.noarch

Simplified DocBook is an attempt to provide a proper subset of DocBook that is simultaneously smaller and still useful. Documents written in the subset must be 100% legal DocBook documents. This is a subset for single documents (articles, white papers, etc.), so there’s no need for books or sets, just ‘articles’. Simplified DocBook documents are viewable in online browsers if styled with CSS. (it’s XML not SGML).

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

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

sudo yum -y install docbook-simple.noarch

How To Uninstall docbook-simple.noarch on Amazon Linux 2

To uninstall only the docbook-simple.noarch package we can use the following command:

sudo yum remove docbook-simple.noarch

docbook-simple.noarch Package Contents on Amazon Linux 2

/etc/sgml/docbook-simple.cat
/etc/xml/docbook-simple.xml
/usr/share/doc/docbook-simple-1.1
/usr/share/doc/docbook-simple-1.1/README
/usr/share/doc/docbook-simple-1.1/sdocbook.css
/usr/share/xml/docbook/simple
/usr/share/xml/docbook/simple/1.1
/usr/share/xml/docbook/simple/1.1/sdbcent.mod
/usr/share/xml/docbook/simple/1.1/sdbhier.mod
/usr/share/xml/docbook/simple/1.1/sdbpool.mod
/usr/share/xml/docbook/simple/1.1/sdocbook-custom.dtd
/usr/share/xml/docbook/simple/1.1/sdocbook.css
/usr/share/xml/docbook/simple/1.1/sdocbook.dtd
/usr/share/xml/docbook/simple/1.1/sdocbookref-custom.dtd
/usr/share/xml/docbook/simple/1.1/sdocbookref.dtd
/usr/share/xml/docbook/simple/1.1/sinclist.mod

References

Summary

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