How To Install dracut-config-ec2.noarch on Amazon Linux 2
In this tutorial we learn how to install dracut-config-ec2.noarch in Amazon Linux 2. dracut-config-ec2.noarch is Dracut configuration for Amazon EC2
Introduction
In this tutorial we learn how to install dracut-config-ec2.noarch on Amazon Linux 2.
What is dracut-config-ec2.noarch
Dracut configuration for EC2 instance ramdisk image generation
We can use yum to install dracut-config-ec2.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install dracut-config-ec2.noarch.
Install dracut-config-ec2.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 dracut-config-ec2.noarch using yum by running the following command:
sudo yum -y install dracut-config-ec2.noarch
How To Uninstall dracut-config-ec2.noarch on Amazon Linux 2
To uninstall only the dracut-config-ec2.noarch package we can use the following command:
sudo yum remove dracut-config-ec2.noarch
dracut-config-ec2.noarch Package Contents on Amazon Linux 2
/etc/dracut.conf.d/ec2.conf
/etc/dracut.conf.d/xen.conf
/usr/lib/sysctl.d/99-ipv6.conf
References
Summary
In this tutorial we learn how to install dracut-config-ec2.noarch on Amazon Linux 2 using yum.