How To Install centos-indexhtml on CentOS 8

centos-indexhtml is Browser default start page for CentOS

Introduction

In this tutorial we learn how to install centos-indexhtml on CentOS 8.

What is centos-indexhtml

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

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

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

sudo dnf -y install centos-indexhtml

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

sudo yum -y install centos-indexhtml

How To Uninstall centos-indexhtml on CentOS 8

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

sudo dnf remove centos-indexhtml

centos-indexhtml Package Contents on CentOS 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/centos-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
/usr/share/doc/HTML/zh-CN
/usr/share/doc/HTML/zh-CN/index.html
/usr/share/doc/HTML/zh-HK
/usr/share/doc/HTML/zh-HK/index.html
/usr/share/doc/HTML/zh-TW
/usr/share/doc/HTML/zh-TW/index.html

References

Summary

In this tutorial we learn how to install centos-indexhtml on CentOS 8 using yum and dnf.