How To Install xhtml1-dtds on Rocky Linux 8
Introduction
In this tutorial we learn how to install xhtml1-dtds
on Rocky Linux 8.
What is xhtml1-dtds
This provides the DTDs of the Second Edition of XHTML 1.0, a reformulation of HTML 4 as an XML 1.0 application, and three DTDs corresponding to the ones defined by HTML 4. The semantics of the elements and their attributes are defined in the W3C Recommendation for HTML 4. These semantics provide the foundation for future extensibility of XHTML.
We can use yum
or dnf
to install xhtml1-dtds
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install xhtml1-dtds.
Install xhtml1-dtds 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 xhtml1-dtds
using dnf
by running the following command:
sudo dnf -y install xhtml1-dtds
Install xhtml1-dtds 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 xhtml1-dtds
using yum
by running the following command:
sudo yum -y install xhtml1-dtds
How To Uninstall xhtml1-dtds on Rocky Linux 8
To uninstall only the xhtml1-dtds
package we can use the following command:
sudo dnf remove xhtml1-dtds
xhtml1-dtds Package Contents on Rocky Linux 8
/etc/sgml/xhtml1-dtds-1.0-20020801.13.el8.4.soc
/etc/sgml/xhtml1-dtds.soc
/etc/xml/xhtml1-dtds-1.0-20020801.13.el8.4.xml
/etc/xml/xhtml1-dtds.xml
/usr/share/xml/xhtml
/usr/share/xml/xhtml/1.0
/usr/share/xml/xhtml/1.0/catalog.xml
/usr/share/xml/xhtml/1.0/xhtml-lat1.ent
/usr/share/xml/xhtml/1.0/xhtml-special.ent
/usr/share/xml/xhtml/1.0/xhtml-symbol.ent
/usr/share/xml/xhtml/1.0/xhtml.soc
/usr/share/xml/xhtml/1.0/xhtml1-frameset.dtd
/usr/share/xml/xhtml/1.0/xhtml1-strict.dtd
/usr/share/xml/xhtml/1.0/xhtml1-transitional.dtd
/usr/share/xml/xhtml/1.0/xhtml1.dcl
References
Summary
In this tutorial we learn how to install xhtml1-dtds
on Rocky Linux 8 using yum and dnf.