How To Install rootfiles.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install rootfiles.noarch on Amazon Linux 2.
What is rootfiles.noarch
The rootfiles package contains basic required files that are placed in the root user’s account. These files are basically the same as those in /etc/skel, which are placed in regular users’ home directories.
We can use yum to install rootfiles.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install rootfiles.noarch.
Install rootfiles.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 rootfiles.noarch using yum by running the following command:
sudo yum -y install rootfiles.noarch
How To Uninstall rootfiles.noarch on Amazon Linux 2
To uninstall only the rootfiles.noarch package we can use the following command:
sudo yum remove rootfiles.noarch
rootfiles.noarch Package Contents on Amazon Linux 2
/root/.bash_logout
/root/.bash_profile
/root/.bashrc
/root/.cshrc
/root/.tcshrc
References
Summary
In this tutorial we learn how to install rootfiles.noarch on Amazon Linux 2 using yum.