How To Install ec2-utils.noarch on Amazon Linux 2
In this tutorial we learn how to install ec2-utils.noarch in Amazon Linux 2. ec2-utils.noarch is A set of tools for running in EC2
Introduction
In this tutorial we learn how to install ec2-utils.noarch
on Amazon Linux 2.
What is ec2-utils.noarch
ec2-utils contains a set of utilities for running in ec2.
We can use yum
to install ec2-utils.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ec2-utils.noarch.
Install ec2-utils.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 ec2-utils.noarch
using yum
by running the following command:
sudo yum -y install ec2-utils.noarch
How To Uninstall ec2-utils.noarch on Amazon Linux 2
To uninstall only the ec2-utils.noarch
package we can use the following command:
sudo yum remove ec2-utils.noarch
ec2-utils.noarch Package Contents on Amazon Linux 2
/etc/udev/rules.d/51-ec2-hvm-devices.rules
/etc/udev/rules.d/51-ec2-xen-vbd-devices.rules
/etc/udev/rules.d/52-ec2-vcpu.rules
/etc/udev/rules.d/53-ec2-read-ahead-kb.rules
/etc/udev/rules.d/60-cdrom_id.rules
/etc/udev/rules.d/70-ec2-nvme-devices.rules
/opt/aws/bin/ec2-metadata
/sbin/ebsnvme-id
/sbin/ec2udev-vbd
/sbin/ec2udev-vcpu
/usr/bin/ec2-metadata
/usr/lib/udev/ec2nvme-nsid
References
Summary
In this tutorial we learn how to install ec2-utils.noarch
on Amazon Linux 2 using yum.