How To Install html401-dtds on AlmaLinux 8

In this tutorial we learn how to install html401-dtds in AlmaLinux 8. html401-dtds is HTML 4.01 document type definitions

Introduction

In this tutorial we learn how to install html401-dtds on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove html401-dtds

References

Summary

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