How to Install and Uninstall grub2 Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 17,2024

1. Install "grub2" package

This tutorial shows how to install grub2 on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install grub2

2. Uninstall "grub2" package

Please follow the guidance below to uninstall grub2 on Ubuntu 21.10 (Impish Indri):

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

3. Information about the grub2 package on Ubuntu 21.10 (Impish Indri)

Package: grub2
Architecture: amd64
Version: 2.04-1ubuntu47
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-1ubuntu47), grub-common (= 2.04-1ubuntu47)
Filename: pool/universe/g/grub2/grub2_2.04-1ubuntu47_amd64.deb
Size: 2388
MD5sum: 5c0ea5a1cba5eefd1871887a93d20e23
SHA1: 19059a226471eb6cbac2eb9096b5142e511e561e
SHA256: 3ebdd1923c98521611837834e93210fd2edc5e9fd64819dd41cae3b28782b0de
SHA512: 0137aea47802bce3c943dacb7fdd8c644dc2b4ace3e1ba8afe706f09f89817ec2ce009773c6a0ac2d3213452a450a1abdce79bfac1f654e50e25f6b81ef8704a
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