How To Install sysctl-defaults.noarch on Amazon Linux 2
In this tutorial we learn how to install sysctl-defaults.noarch in Amazon Linux 2. sysctl-defaults.noarch is Linux sysctl defaults suitable for the Amazon Linux AMI
Introduction
In this tutorial we learn how to install sysctl-defaults.noarch on Amazon Linux 2.
What is sysctl-defaults.noarch
Linux sysctl defaults suitable for the Amazon Linux AMI on EC2.
We can use yum to install sysctl-defaults.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install sysctl-defaults.noarch.
Install sysctl-defaults.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 sysctl-defaults.noarch using yum by running the following command:
sudo yum -y install sysctl-defaults.noarch
How To Uninstall sysctl-defaults.noarch on Amazon Linux 2
To uninstall only the sysctl-defaults.noarch package we can use the following command:
sudo yum remove sysctl-defaults.noarch
sysctl-defaults.noarch Package Contents on Amazon Linux 2
/etc/sysctl.d
/etc/sysctl.d/00-defaults.conf
References
Summary
In this tutorial we learn how to install sysctl-defaults.noarch on Amazon Linux 2 using yum.