How to Install and Uninstall grub2-efi-x64-ec2.x86_64 Package on Amazon Linux 2

Last updated: May 19,2024

1. Install "grub2-efi-x64-ec2.x86_64" package

In this section, we are going to explain the necessary steps to install grub2-efi-x64-ec2.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install grub2-efi-x64-ec2.x86_64

2. Uninstall "grub2-efi-x64-ec2.x86_64" package

Here is a brief guide to show you how to uninstall grub2-efi-x64-ec2.x86_64 on Amazon Linux 2:

$ sudo yum remove grub2-efi-x64-ec2.x86_64 $ sudo yum autoremove

3. Information about the grub2-efi-x64-ec2.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : grub2-efi-x64-ec2
Arch : x86_64
Epoch : 1
Version : 2.06
Release : 2.amzn2.0.6
Size : 281 k
Repo : amzn2-core/2/x86_64
Summary : Files used to boot standard EC2 instance with EFI
URL : http://www.gnu.org/software/grub/
License : GPLv3+
Description :
: The GRand Unified Bootloader (GRUB) is a highly configurable and
: customizable bootloader with modular architecture. It supports a
: rich variety of kernel formats, file systems, computer
: architectures and hardware devices.
:
: This subpackage provides alternative grub image used with EC2 on
: efi-x64 systems.