How To Install docbook2X on CentOS 8
Introduction
In this tutorial we learn how to install docbook2X
on CentOS 8.
What is docbook2X
docbook2X converts DocBook documents into man pages and Texinfo documents.
We can use yum
or dnf
to install docbook2X
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install docbook2X.
Install docbook2X on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install docbook2X
using dnf
by running the following command:
sudo dnf -y install docbook2X
Install docbook2X on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install docbook2X
using yum
by running the following command:
sudo yum -y install docbook2X
How To Uninstall docbook2X on CentOS 8
To uninstall only the docbook2X
package we can use the following command:
sudo dnf remove docbook2X
docbook2X Package Contents on CentOS 8
/usr/bin/db2x_docbook2man
/usr/bin/db2x_docbook2texi
/usr/bin/db2x_manxml
/usr/bin/db2x_texixml
/usr/bin/db2x_xsltproc
/usr/bin/sgml2xml-isoent
/usr/bin/utf8trans
/usr/lib/.build-id
/usr/lib/.build-id/af
/usr/lib/.build-id/af/ca9a17f0e10d41b0d08931b4407a958ef1bb5f
/usr/share/doc/docbook2X
/usr/share/doc/docbook2X/AUTHORS
/usr/share/doc/docbook2X/COPYING
/usr/share/doc/docbook2X/README
/usr/share/doc/docbook2X/THANKS
/usr/share/doc/docbook2X/html
/usr/share/doc/docbook2X/html/changes.html
/usr/share/doc/docbook2X/html/charsets.html
/usr/share/doc/docbook2X/html/cindex.html
/usr/share/doc/docbook2X/html/db2x_manxml.html
/usr/share/doc/docbook2X/html/db2x_texixml.html
/usr/share/doc/docbook2X/html/db2x_xsltproc.html
/usr/share/doc/docbook2X/html/dependencies.html
/usr/share/doc/docbook2X/html/design-notes.html
/usr/share/doc/docbook2X/html/docbook2X.html
/usr/share/doc/docbook2X/html/docbook2man.html
/usr/share/doc/docbook2X/html/docbook2texi.html
/usr/share/doc/docbook2X/html/faq.html
/usr/share/doc/docbook2X/html/install.html
/usr/share/doc/docbook2X/html/manpages.html
/usr/share/doc/docbook2X/html/performance.html
/usr/share/doc/docbook2X/html/sgml2xml-isoent.html
/usr/share/doc/docbook2X/html/testing.html
/usr/share/doc/docbook2X/html/texinfo.html
/usr/share/doc/docbook2X/html/todo.html
/usr/share/doc/docbook2X/html/utf8trans.html
/usr/share/doc/docbook2X/html/xsltproc.html
/usr/share/docbook2X
/usr/share/docbook2X/VERSION
/usr/share/docbook2X/charmaps
/usr/share/docbook2X/charmaps/roff-small.charmap.xml
/usr/share/docbook2X/charmaps/roff.charmap
/usr/share/docbook2X/charmaps/roff.charmap.xml
/usr/share/docbook2X/charmaps/texi-small.charmap.xml
/usr/share/docbook2X/charmaps/texi.charmap
/usr/share/docbook2X/charmaps/texi.charmap.xml
/usr/share/docbook2X/dtd
/usr/share/docbook2X/dtd/Man-XML
/usr/share/docbook2X/dtd/Texi-XML
/usr/share/docbook2X/dtd/catalog.xml
/usr/share/docbook2X/xslt
/usr/share/docbook2X/xslt/backend
/usr/share/docbook2X/xslt/backend/charmap.xsl
/usr/share/docbook2X/xslt/backend/db2x_manxml.xsl
/usr/share/docbook2X/xslt/backend/db2x_texixml.xsl
/usr/share/docbook2X/xslt/backend/man-html-table.xsl
/usr/share/docbook2X/xslt/backend/man-table.xsl
/usr/share/docbook2X/xslt/backend/string.xsl
/usr/share/docbook2X/xslt/catalog.xml
/usr/share/docbook2X/xslt/common
/usr/share/docbook2X/xslt/common/check-idref.xsl
/usr/share/docbook2X/xslt/common/cmdsynopsis.xsl
/usr/share/docbook2X/xslt/common/gentext.xsl
/usr/share/docbook2X/xslt/common/l10n.xsl
/usr/share/docbook2X/xslt/common/labels.xsl
/usr/share/docbook2X/xslt/common/lists.xsl
/usr/share/docbook2X/xslt/common/messages.xsl
/usr/share/docbook2X/xslt/common/person.xsl
/usr/share/docbook2X/xslt/common/string.xsl
/usr/share/docbook2X/xslt/common/text
/usr/share/docbook2X/xslt/common/text/af.xml
/usr/share/docbook2X/xslt/common/text/bg.xml
/usr/share/docbook2X/xslt/common/text/ca.xml
/usr/share/docbook2X/xslt/common/text/cs.xml
/usr/share/docbook2X/xslt/common/text/da.xml
/usr/share/docbook2X/xslt/common/text/de.xml
/usr/share/docbook2X/xslt/common/text/el.xml
/usr/share/docbook2X/xslt/common/text/en.xml
/usr/share/docbook2X/xslt/common/text/es.xml
/usr/share/docbook2X/xslt/common/text/et.xml
/usr/share/docbook2X/xslt/common/text/eu.xml
/usr/share/docbook2X/xslt/common/text/fi.xml
/usr/share/docbook2X/xslt/common/text/fr.xml
/usr/share/docbook2X/xslt/common/text/he.xml
/usr/share/docbook2X/xslt/common/text/hu.xml
/usr/share/docbook2X/xslt/common/text/id.xml
/usr/share/docbook2X/xslt/common/text/it.xml
/usr/share/docbook2X/xslt/common/text/ja.xml
/usr/share/docbook2X/xslt/common/text/ko.xml
/usr/share/docbook2X/xslt/common/text/l10n-set.xml
/usr/share/docbook2X/xslt/common/text/lt.xml
/usr/share/docbook2X/xslt/common/text/nl.xml
/usr/share/docbook2X/xslt/common/text/nn.xml
/usr/share/docbook2X/xslt/common/text/no.xml
/usr/share/docbook2X/xslt/common/text/pl.xml
/usr/share/docbook2X/xslt/common/text/pt-br.xml
/usr/share/docbook2X/xslt/common/text/pt.xml
/usr/share/docbook2X/xslt/common/text/ro.xml
/usr/share/docbook2X/xslt/common/text/ru.xml
/usr/share/docbook2X/xslt/common/text/sk.xml
/usr/share/docbook2X/xslt/common/text/sl.xml
/usr/share/docbook2X/xslt/common/text/sr.xml
/usr/share/docbook2X/xslt/common/text/sv.xml
/usr/share/docbook2X/xslt/common/text/th.xml
/usr/share/docbook2X/xslt/common/text/tr.xml
/usr/share/docbook2X/xslt/common/text/uk.xml
/usr/share/docbook2X/xslt/common/text/vi.xml
/usr/share/docbook2X/xslt/common/text/xh.xml
/usr/share/docbook2X/xslt/common/text/zh-cn.xml
/usr/share/docbook2X/xslt/common/text/zh-tw.xml
/usr/share/docbook2X/xslt/common/titles.xsl
/usr/share/docbook2X/xslt/common/ucase.xsl
/usr/share/docbook2X/xslt/common/version.xsl
/usr/share/docbook2X/xslt/common/whitespace.xsl
/usr/share/docbook2X/xslt/man
/usr/share/docbook2X/xslt/man/admon.xsl
/usr/share/docbook2X/xslt/man/beginpage.xsl
/usr/share/docbook2X/xslt/man/block.xsl
/usr/share/docbook2X/xslt/man/caption.xsl
/usr/share/docbook2X/xslt/man/docbook.xsl
/usr/share/docbook2X/xslt/man/formal.xsl
/usr/share/docbook2X/xslt/man/glossary.xsl
/usr/share/docbook2X/xslt/man/index.xsl
/usr/share/docbook2X/xslt/man/info.xsl
/usr/share/docbook2X/xslt/man/inline.xsl
/usr/share/docbook2X/xslt/man/keywords.xsl
/usr/share/docbook2X/xslt/man/lists.xsl
/usr/share/docbook2X/xslt/man/manpage.xsl
/usr/share/docbook2X/xslt/man/param.xsl
/usr/share/docbook2X/xslt/man/pi.xsl
/usr/share/docbook2X/xslt/man/refentry.xsl
/usr/share/docbook2X/xslt/man/sectioning.xsl
/usr/share/docbook2X/xslt/man/sections.xsl
/usr/share/docbook2X/xslt/man/synop.xsl
/usr/share/docbook2X/xslt/man/table.xsl
/usr/share/docbook2X/xslt/man/toc.xsl
/usr/share/docbook2X/xslt/man/verbatim.xsl
/usr/share/docbook2X/xslt/man/xref.xsl
/usr/share/docbook2X/xslt/texi
/usr/share/docbook2X/xslt/texi/admon.xsl
/usr/share/docbook2X/xslt/texi/autotoc.xsl
/usr/share/docbook2X/xslt/texi/beginpage.xsl
/usr/share/docbook2X/xslt/texi/biblio.xsl
/usr/share/docbook2X/xslt/texi/block.xsl
/usr/share/docbook2X/xslt/texi/callout.xsl
/usr/share/docbook2X/xslt/texi/caption.xsl
/usr/share/docbook2X/xslt/texi/chunk.xsl
/usr/share/docbook2X/xslt/texi/component.xsl
/usr/share/docbook2X/xslt/texi/division.xsl
/usr/share/docbook2X/xslt/texi/docbook.xsl
/usr/share/docbook2X/xslt/texi/footnote.xsl
/usr/share/docbook2X/xslt/texi/force-inline.xsl
/usr/share/docbook2X/xslt/texi/formal.xsl
/usr/share/docbook2X/xslt/texi/glossary.xsl
/usr/share/docbook2X/xslt/texi/graphics.xsl
/usr/share/docbook2X/xslt/texi/index.xsl
/usr/share/docbook2X/xslt/texi/info.xsl
/usr/share/docbook2X/xslt/texi/inline.xsl
/usr/share/docbook2X/xslt/texi/jrefentry.xsl
/usr/share/docbook2X/xslt/texi/keywords.xsl
/usr/share/docbook2X/xslt/texi/lists.xsl
/usr/share/docbook2X/xslt/texi/math.xsl
/usr/share/docbook2X/xslt/texi/menudescrip.xsl
/usr/share/docbook2X/xslt/texi/param.xsl
/usr/share/docbook2X/xslt/texi/pi.xsl
/usr/share/docbook2X/xslt/texi/qandaset.xsl
/usr/share/docbook2X/xslt/texi/refentry.xsl
/usr/share/docbook2X/xslt/texi/sectioning.xsl
/usr/share/docbook2X/xslt/texi/sections.xsl
/usr/share/docbook2X/xslt/texi/synop.xsl
/usr/share/docbook2X/xslt/texi/table.xsl
/usr/share/docbook2X/xslt/texi/texifile.xsl
/usr/share/docbook2X/xslt/texi/texinode-base.xsl
/usr/share/docbook2X/xslt/texi/texinode.xsl
/usr/share/docbook2X/xslt/texi/toc.xsl
/usr/share/docbook2X/xslt/texi/verbatim.xsl
/usr/share/docbook2X/xslt/texi/xref.xsl
/usr/share/info/docbook2X.info.gz
/usr/share/info/docbook2man-xslt.info.gz
/usr/share/info/docbook2texi-xslt.info.gz
/usr/share/man/man1/db2x_docbook2man.1.gz
/usr/share/man/man1/db2x_docbook2texi.1.gz
/usr/share/man/man1/db2x_manxml.1.gz
/usr/share/man/man1/db2x_texixml.1.gz
/usr/share/man/man1/db2x_xsltproc.1.gz
/usr/share/man/man1/sgml2xml-isoent.1.gz
/usr/share/man/man1/utf8trans.1.gz
References
Summary
In this tutorial we learn how to install docbook2X
on CentOS 8 using yum and dnf.