How To Install html401-dtds on Rocky Linux 8

In this tutorial we learn how to install html401-dtds on Rocky Linux 8. html401-dtds is HTML 4.01 document type definitions

Introduction

In this tutorial we learn how to install html401-dtds on Rocky Linux 8.

What is html401-dtds

This package provides the three HTML 4.01 DTDs (strict, frameset, and transitional). The DTDs are required for processing HTML 4.01 document instances using SGML tools such as OpenSP, OpenJade, or SGMLSpm.

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

Install html401-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 html401-dtds using dnf by running the following command:

sudo dnf -y install html401-dtds

Install html401-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 html401-dtds using yum by running the following command:

sudo yum -y install html401-dtds

How To Uninstall html401-dtds on Rocky Linux 8

To uninstall only the html401-dtds package we can use the following command:

sudo dnf remove html401-dtds

html401-dtds Package Contents on Rocky Linux 8

/etc/sgml/html401-dtds-4.01-19991224.12.el8.15.soc
/etc/sgml/html401-dtds.soc
/usr/share/sgml/html
/usr/share/sgml/html/4.01
/usr/share/sgml/html/4.01/HTML4.cat
/usr/share/sgml/html/4.01/HTML4.decl
/usr/share/sgml/html/4.01/HTMLlat1.ent
/usr/share/sgml/html/4.01/HTMLspecial.ent
/usr/share/sgml/html/4.01/HTMLsymbol.ent
/usr/share/sgml/html/4.01/frameset.dtd
/usr/share/sgml/html/4.01/loose.dtd
/usr/share/sgml/html/4.01/strict.dtd

References

Summary

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