How to Install and Uninstall grub-legacy-ec2 Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 23,2024

1. Install "grub-legacy-ec2" package

Please follow the guidelines below to install grub-legacy-ec2 on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install grub-legacy-ec2

2. Uninstall "grub-legacy-ec2" package

This guide covers the steps necessary to uninstall grub-legacy-ec2 on Ubuntu 24.04 LTS (Noble Numbat):

$ sudo apt remove grub-legacy-ec2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the grub-legacy-ec2 package on Ubuntu 24.04 LTS (Noble Numbat)

Package: grub-legacy-ec2
Architecture: all
Version: 1:1ubuntu2
Priority: extra
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 82
Depends: debconf (>= 1.5.19) | cdebconf, ucf, debconf (>= 0.5) | debconf-2.0
Suggests: grub-legacy-doc
Conflicts: grub
Filename: pool/main/g/grub-legacy-ec2/grub-legacy-ec2_1ubuntu2_all.deb
Size: 20126
MD5sum: 29187935bf63f58bb231ec49703d29db
SHA1: e6a430c83eb9b1c3f3258aee5a86174add6517ce
SHA256: fd7c5eead2e00529412762534cb15dcc8d311260ef019800371663763f869d5c
SHA512: dc590ac953f7bc5698b5fa4b9a7edfb7bcded007f14f587abf32b9ff93b970a52cc76e69f8a332dd67ff73fbbf90dd30992e58bc82dac5ffbab1b7cb2580e6ca
Description: Handles update-grub for ec2 instances
Description-md5: e5f8ea347000ef0d0aedb42c000e0b9c