How To Install docbook-utils on Rocky Linux 8

In this tutorial we learn how to install docbook-utils on Rocky Linux 8. docbook-utils is Shell scripts for managing DocBook documents

Introduction

In this tutorial we learn how to install docbook-utils on Rocky Linux 8.

What is docbook-utils

This package contains scripts are for easy conversion from DocBook files to other formats (for example, HTML, RTF, and PostScript), and for comparing SGML files.

We can use yum or dnf to install docbook-utils on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install docbook-utils.

Install docbook-utils on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install docbook-utils using dnf by running the following command:

sudo dnf -y install docbook-utils

Install docbook-utils on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install docbook-utils using yum by running the following command:

sudo yum -y install docbook-utils

How To Uninstall docbook-utils on Rocky Linux 8

To uninstall only the docbook-utils package we can use the following command:

sudo dnf remove docbook-utils

docbook-utils Package Contents on Rocky Linux 8

/usr/bin/db2html
/usr/bin/db2rtf
/usr/bin/docbook2html
/usr/bin/docbook2man
/usr/bin/docbook2rtf
/usr/bin/docbook2tex
/usr/bin/docbook2texi
/usr/bin/docbook2txt
/usr/bin/jw
/usr/bin/sgmldiff
/usr/share/doc/docbook-utils
/usr/share/doc/docbook-utils/COPYING
/usr/share/doc/docbook-utils/README
/usr/share/doc/docbook-utils/TODO
/usr/share/man/man1/db2dvi.1.gz
/usr/share/man/man1/db2html.1.gz
/usr/share/man/man1/db2ps.1.gz
/usr/share/man/man1/db2rtf.1.gz
/usr/share/man/man1/docbook2html.1.gz
/usr/share/man/man1/docbook2man-spec.pl.1.gz
/usr/share/man/man1/docbook2man.1.gz
/usr/share/man/man1/docbook2rtf.1.gz
/usr/share/man/man1/docbook2tex.1.gz
/usr/share/man/man1/docbook2texi-spec.pl.1.gz
/usr/share/man/man1/docbook2texi.1.gz
/usr/share/man/man1/docbook2txt.1.gz
/usr/share/man/man1/jw.1.gz
/usr/share/man/man1/sgmldiff.1.gz
/usr/share/man/man7/backend-spec.7.gz
/usr/share/man/man7/frontend-spec.7.gz
/usr/share/sgml/docbook/utils-0.6.14
/usr/share/sgml/docbook/utils-0.6.14/backends
/usr/share/sgml/docbook/utils-0.6.14/backends/dvi
/usr/share/sgml/docbook/utils-0.6.14/backends/html
/usr/share/sgml/docbook/utils-0.6.14/backends/man
/usr/share/sgml/docbook/utils-0.6.14/backends/pdf
/usr/share/sgml/docbook/utils-0.6.14/backends/ps
/usr/share/sgml/docbook/utils-0.6.14/backends/rtf
/usr/share/sgml/docbook/utils-0.6.14/backends/tex
/usr/share/sgml/docbook/utils-0.6.14/backends/texi
/usr/share/sgml/docbook/utils-0.6.14/backends/txt
/usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl
/usr/share/sgml/docbook/utils-0.6.14/frontends
/usr/share/sgml/docbook/utils-0.6.14/frontends/docbook
/usr/share/sgml/docbook/utils-0.6.14/helpers
/usr/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl
/usr/share/sgml/docbook/utils-0.6.14/helpers/docbook2texi-spec.pl

References

Summary

In this tutorial we learn how to install docbook-utils on Rocky Linux 8 using yum and dnf.