How to Install and Uninstall grub2 Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: December 23,2024

1. Install "grub2" package

Learn how to install grub2 on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install grub2

2. Uninstall "grub2" package

Please follow the steps below to uninstall grub2 on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the grub2 package on Ubuntu 21.04 (Hirsute Hippo)

Package: grub2
Architecture: amd64
Version: 2.04-1ubuntu45
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.04-1ubuntu45), grub-common (= 2.04-1ubuntu45)
Filename: pool/universe/g/grub2/grub2_2.04-1ubuntu45_amd64.deb
Size: 2576
MD5sum: c94f6a295b494c84fc5fe35d8627ce68
SHA1: 9facedf1357846a29ce8149631211bc3cfd72580
SHA256: 46f0b7c859b375154e0ba20f2e22b482226352e0f43fa2076121d78fdd1c1f8c
SHA512: 086b9726d433cdee050fbffeff986e3bd98a8e437868c47d6d39ea17701388f75305edc1421aacd9eafbfe486598da10570f4a928ecc421b24302d178018a398
Homepage: https://www.gnu.org/software/grub/
Description-en: GRand Unified Bootloader, version 2 (dummy package)
This is a dummy transitional package to handle GRUB 2 upgrades. It can be
safely removed.
Description-md5: bbb470013d1f2450dba730f10fbd09b4