How to Install and Uninstall grub2 Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 22,2024

1. Install "grub2" package

This guide covers the steps necessary to install grub2 on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install grub2

2. Uninstall "grub2" package

This tutorial shows how to uninstall grub2 on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove grub2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the grub2 package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: grub2
Architecture: amd64
Version: 2.02-2ubuntu8.23
Multi-Arch: foreign
Priority: extra
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: GRUB Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 16
Depends: grub-pc (= 2.02-2ubuntu8.23), grub-common (= 2.02-2ubuntu8.23)
Filename: pool/universe/g/grub2/grub2_2.02-2ubuntu8.23_amd64.deb
Size: 2588
MD5sum: 9bd1e1d6b517fbd9d71f7f157d05f50c
SHA1: 1b2243e43a94876ae51e10388db6a0964dc43f86
SHA256: cf44ad24633e76e78b9ca0cecfee698199933ec77b4528b19979fef2f02e9ab5
SHA512: 44ffa2b095f638d2ddcb835af4ef8730302590ba37b502116a4c8b7ca5525f8d7be03e120dea3304899bd71ba4f819bba0923844ebdfa587f66439a447a1bd12
Homepage: http://www.gnu.org/software/grub/
Description: GRand Unified Bootloader, version 2 (dummy package)
Description-md5: bbb470013d1f2450dba730f10fbd09b4
Supported: 3y

Package: grub2
Architecture: amd64
Version: 2.02-2ubuntu8
Multi-Arch: foreign
Priority: extra
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: GRUB Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 16
Depends: grub-pc (= 2.02-2ubuntu8), grub-common (= 2.02-2ubuntu8)
Filename: pool/universe/g/grub2/grub2_2.02-2ubuntu8_amd64.deb
Size: 2568
MD5sum: bad97ff1261da70a9feda20c2bc430b5
SHA1: 53686e889f2676486db903c6f2de0e986b4a5040
SHA256: 3442861fb1225f8a34f804d8a988c2d167db821d3f1243d81980e4fee20279e1
Homepage: http://www.gnu.org/software/grub/
Description: GRand Unified Bootloader, version 2 (dummy package)
Description-md5: bbb470013d1f2450dba730f10fbd09b4
Supported: 3y