How To Install amazonlinux-indexhtml.noarch on Amazon Linux 2

In this tutorial we learn how to install amazonlinux-indexhtml.noarch in Amazon Linux 2. amazonlinux-indexhtml.noarch is Browser default start page

Introduction

In this tutorial we learn how to install amazonlinux-indexhtml.noarch on Amazon Linux 2.

What is amazonlinux-indexhtml.noarch

The welcome page shown by your Web browser after you install Amazon Linux

We can use yum to install amazonlinux-indexhtml.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install amazonlinux-indexhtml.noarch.

Install amazonlinux-indexhtml.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install amazonlinux-indexhtml.noarch using yum by running the following command:

sudo yum -y install amazonlinux-indexhtml.noarch

How To Uninstall amazonlinux-indexhtml.noarch on Amazon Linux 2

To uninstall only the amazonlinux-indexhtml.noarch package we can use the following command:

sudo yum remove amazonlinux-indexhtml.noarch

amazonlinux-indexhtml.noarch Package Contents on Amazon Linux 2

/usr/share/doc/HTML/en-US
/usr/share/doc/HTML/en-US/index.html
/usr/share/doc/HTML/index.html

References

Summary

In this tutorial we learn how to install amazonlinux-indexhtml.noarch on Amazon Linux 2 using yum.