How To Install setup.noarch on Amazon Linux 2

In this tutorial we learn how to install setup.noarch in Amazon Linux 2. setup.noarch is A set of system configuration and setup files

Introduction

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

What is setup.noarch

The setup package contains a set of important system configuration and setup files, such as passwd, group, and profile.

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

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

sudo yum -y install setup.noarch

How To Uninstall setup.noarch on Amazon Linux 2

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

sudo yum remove setup.noarch

setup.noarch Package Contents on Amazon Linux 2

/etc/aliases
/etc/bashrc
/etc/csh.cshrc
/etc/csh.login
/etc/environment
/etc/ethertypes
/etc/exports
/etc/filesystems
/etc/fstab
/etc/group
/etc/gshadow
/etc/host.conf
/etc/hosts
/etc/hosts.allow
/etc/hosts.deny
/etc/inputrc
/etc/motd
/etc/passwd
/etc/printcap
/etc/profile
/etc/profile.d
/etc/profile.d/csh.local
/etc/profile.d/sh.local
/etc/protocols
/etc/securetty
/etc/services
/etc/shadow
/etc/shells
/etc/subgid
/etc/subuid
/usr/share/doc/setup-2.8.71
/usr/share/doc/setup-2.8.71/COPYING
/usr/share/doc/setup-2.8.71/uidgid
/var/log/lastlog

References

Summary

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