How To Install rocky-indexhtml on Rocky Linux 8

In this tutorial we learn how to install rocky-indexhtml on Rocky Linux 8. rocky-indexhtml is Browser default start page for Rocky Linux

Introduction

In this tutorial we learn how to install rocky-indexhtml on Rocky Linux 8.

What is rocky-indexhtml

The indexhtml package contains the welcome page shown by your Web browser, which you’ll see after you’ve successfully installed Rocky Linux.

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

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

sudo dnf -y install rocky-indexhtml

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

sudo yum -y install rocky-indexhtml

How To Uninstall rocky-indexhtml on Rocky Linux 8

To uninstall only the rocky-indexhtml package we can use the following command:

sudo dnf remove rocky-indexhtml

rocky-indexhtml Package Contents on Rocky Linux 8

/usr/share/doc/HTML/common
/usr/share/doc/HTML/common/css
/usr/share/doc/HTML/common/css/bootstrap.min.css
/usr/share/doc/HTML/common/css/styles.css
/usr/share/doc/HTML/common/fonts
/usr/share/doc/HTML/common/fonts/overpass_bold-web.eot
/usr/share/doc/HTML/common/fonts/overpass_bold-web.svg
/usr/share/doc/HTML/common/fonts/overpass_bold-web.ttf
/usr/share/doc/HTML/common/fonts/overpass_bold-web.woff
/usr/share/doc/HTML/common/images
/usr/share/doc/HTML/common/images/rocky-header.png
/usr/share/doc/HTML/en-US
/usr/share/doc/HTML/en-US/index.html
/usr/share/doc/HTML/es-ES
/usr/share/doc/HTML/es-ES/index.html
/usr/share/doc/HTML/index.html

References

Summary

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