How to Install and Uninstall grub-legacy-ec2 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 23,2024

1. Install "grub-legacy-ec2" package

Please follow the instructions below to install grub-legacy-ec2 on Ubuntu 18.04 LTS (Bionic Beaver)

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

2. Uninstall "grub-legacy-ec2" package

Here is a brief guide to show you how to uninstall grub-legacy-ec2 on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the grub-legacy-ec2 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: grub-legacy-ec2
Architecture: all
Version: 1:1
Priority: extra
Section: admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 81
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_1_all.deb
Size: 19428
MD5sum: bc1937c36b43a50ecae678c23bb25c85
SHA1: 10f159c5f8e731299db1aabfcb13184195f84e79
SHA256: 5886fd011c86de3c1f1f5a88b298126a40846c36cc64af35b07f3ef9082f7559
Description: Handles update-grub for ec2 instances
Description-md5: e5f8ea347000ef0d0aedb42c000e0b9c
Task: cloud-image, server
Supported: 5y