How To Install basesystem.noarch on Amazon Linux 2

In this tutorial we learn how to install basesystem.noarch in Amazon Linux 2. basesystem.noarch is The skeleton package which defines a simple Amazon Linux system

Introduction

In this tutorial we learn how to install basesystem.noarch on Amazon Linux 2.

What is basesystem.noarch

Basesystem defines the components of a basic Amazon Linux system (for example, the package installation order to use during bootstrapping). Basesystem should be in every installation of a system, and it should never be removed.

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

Install basesystem.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 basesystem.noarch using yum by running the following command:

sudo yum -y install basesystem.noarch

How To Uninstall basesystem.noarch on Amazon Linux 2

To uninstall only the basesystem.noarch package we can use the following command:

sudo yum remove basesystem.noarch

basesystem.noarch Package Contents on Amazon Linux 2

References

Summary

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