How To Install yum-updateonboot.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install yum-updateonboot.noarch on Amazon Linux 2.
What is yum-updateonboot.noarch
Runs yum update on system boot. This allows machines that have been turned off for an extended amount of time to become secure immediately, instead of waiting until the next early morning cron job.
We can use yum to install yum-updateonboot.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install yum-updateonboot.noarch.
Install yum-updateonboot.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 yum-updateonboot.noarch using yum by running the following command:
sudo yum -y install yum-updateonboot.noarch
How To Uninstall yum-updateonboot.noarch on Amazon Linux 2
To uninstall only the yum-updateonboot.noarch package we can use the following command:
sudo yum remove yum-updateonboot.noarch
yum-updateonboot.noarch Package Contents on Amazon Linux 2
/etc/rc.d/init.d/yum-updateonboot
/etc/sysconfig/yum-updateonboot
/usr/share/doc/yum-updateonboot-1.1.31
/usr/share/doc/yum-updateonboot-1.1.31/COPYING
/usr/share/doc/yum-updateonboot-1.1.31/README
References
Summary
In this tutorial we learn how to install yum-updateonboot.noarch on Amazon Linux 2 using yum.