How to Install and Uninstall grub2.x86_64 Package on Amazon Linux 2

Last updated: September 21,2024

1. Install "grub2.x86_64" package

Please follow the guidelines below to install grub2.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install grub2.x86_64

2. Uninstall "grub2.x86_64" package

This is a short guide on how to uninstall grub2.x86_64 on Amazon Linux 2:

$ sudo yum remove grub2.x86_64 $ sudo yum autoremove

3. Information about the grub2.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : grub2
Arch : x86_64
Epoch : 1
Version : 2.06
Release : 2.amzn2.0.6
Size : 45 k
Repo : amzn2-core/2/x86_64
Summary : Bootloader with support for Linux, Multiboot and more
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.