How To Install hibagent.noarch on Amazon Linux 2
In this tutorial we learn how to install hibagent.noarch in Amazon Linux 2. hibagent.noarch is Hibernation trigger utility for AWS EC2
Introduction
In this tutorial we learn how to install hibagent.noarch
on Amazon Linux 2.
What is hibagent.noarch
An EC2 agent that watches for instance stop notifications and initiates hibernation
We can use yum
to install hibagent.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install hibagent.noarch.
Install hibagent.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 hibagent.noarch
using yum
by running the following command:
sudo yum -y install hibagent.noarch
How To Uninstall hibagent.noarch on Amazon Linux 2
To uninstall only the hibagent.noarch
package we can use the following command:
sudo yum remove hibagent.noarch
hibagent.noarch Package Contents on Amazon Linux 2
/etc/hibagent-config.cfg
/usr/bin/enable-ec2-spot-hibernation
/usr/bin/hibagent
/usr/lib/python2.7/site-packages/hibagent-1.1.0-py2.7.egg-info
/usr/lib/systemd/system/hibagent.service
/usr/share/doc/hibagent-1.1.0
/usr/share/doc/hibagent-1.1.0/LICENSE.txt
/usr/share/doc/hibagent-1.1.0/README.md
References
Summary
In this tutorial we learn how to install hibagent.noarch
on Amazon Linux 2 using yum.