How To Install docbook5-schemas on CentOS 8
Introduction
In this tutorial we learn how to install docbook5-schemas
on CentOS 8.
What is docbook5-schemas
Docbook 5.X is a complete rewrite of Docbook in RELAX NG and not compatible with previous Docbook versions. This package contains Relax NG , DTD and W3C schema for Docbook 5.X. Syntax of those schemas is XML-compliant and is developed by the OASIS consortium.
We can use yum
or dnf
to install docbook5-schemas
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install docbook5-schemas.
Install docbook5-schemas 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 docbook5-schemas
using dnf
by running the following command:
sudo dnf -y install docbook5-schemas
Install docbook5-schemas 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 docbook5-schemas
using yum
by running the following command:
sudo yum -y install docbook5-schemas
How To Uninstall docbook5-schemas on CentOS 8
To uninstall only the docbook5-schemas
package we can use the following command:
sudo dnf remove docbook5-schemas
docbook5-schemas Package Contents on CentOS 8
/etc/xml/docbook-5.xml
/usr/bin/db4-entities.pl
/usr/share/doc/docbook5-schemas
/usr/share/doc/docbook5-schemas/ChangeLog
/usr/share/doc/docbook5-schemas/README
/usr/share/doc/docbook5-schemas/docbook-5.0-spec-cd-01.html
/usr/share/doc/docbook5-schemas/docbook-5.0-spec-cd-01.pdf
/usr/share/doc/docbook5-schemas/docbook-5.0-spec-cd-01.xml
/usr/share/doc/docbook5-schemas/howto.html
/usr/share/doc/docbook5-schemas/howto.pdf
/usr/share/doc/docbook5-schemas/howto.xml
/usr/share/doc/docbook5-schemas/images
/usr/share/doc/docbook5-schemas/images/emacs.png
/usr/share/doc/docbook5-schemas/images/oxygen1.png
/usr/share/doc/docbook5-schemas/images/oxygen2.png
/usr/share/doc/docbook5-schemas/images/oxygen3.png
/usr/share/doc/docbook5-schemas/images/xxe.png
/usr/share/xml/docbook5
/usr/share/xml/docbook5/schema
/usr/share/xml/docbook5/schema/dtd
/usr/share/xml/docbook5/schema/dtd/5.0
/usr/share/xml/docbook5/schema/dtd/5.0/catalog.xml
/usr/share/xml/docbook5/schema/dtd/5.0/docbook.dtd
/usr/share/xml/docbook5/schema/rng
/usr/share/xml/docbook5/schema/rng/5.0
/usr/share/xml/docbook5/schema/rng/5.0/catalog.xml
/usr/share/xml/docbook5/schema/rng/5.0/docbook.rnc
/usr/share/xml/docbook5/schema/rng/5.0/docbook.rng
/usr/share/xml/docbook5/schema/rng/5.0/docbookxi.rnc
/usr/share/xml/docbook5/schema/rng/5.0/docbookxi.rng
/usr/share/xml/docbook5/schema/sch
/usr/share/xml/docbook5/schema/sch/5.0
/usr/share/xml/docbook5/schema/sch/5.0/catalog.xml
/usr/share/xml/docbook5/schema/sch/5.0/docbook.sch
/usr/share/xml/docbook5/schema/xsd
/usr/share/xml/docbook5/schema/xsd/5.0
/usr/share/xml/docbook5/schema/xsd/5.0/catalog.xml
/usr/share/xml/docbook5/schema/xsd/5.0/docbook.xsd
/usr/share/xml/docbook5/schema/xsd/5.0/xlink.xsd
/usr/share/xml/docbook5/schema/xsd/5.0/xml.xsd
/usr/share/xml/docbook5/stylesheet
/usr/share/xml/docbook5/stylesheet/upgrade
/usr/share/xml/docbook5/stylesheet/upgrade/db4-upgrade.xsl
References
Summary
In this tutorial we learn how to install docbook5-schemas
on CentOS 8 using yum and dnf.