How to Install and Uninstall grub2 Package on Debian 11 (Bullseye)

Last updated: May 17,2024

1. Install "grub2" package

Learn how to install grub2 on Debian 11 (Bullseye)

$ sudo apt update $ sudo apt install grub2

2. Uninstall "grub2" package

In this section, we are going to explain the necessary steps to uninstall grub2 on Debian 11 (Bullseye):

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

3. Information about the grub2 package on Debian 11 (Bullseye)

Package: grub2
Version: 2.04-20
Installed-Size: 16
Maintainer: GRUB Maintainers
Architecture: amd64
Depends: grub-pc (= 2.04-20), grub-common (= 2.04-20)
Description: GRand Unified Bootloader, version 2 (dummy package)
Description-md5: bbb470013d1f2450dba730f10fbd09b4
Multi-Arch: foreign
Homepage: https://www.gnu.org/software/grub/
Tag: admin::boot, role::dummy
Section: admin
Priority: optional
Filename: pool/main/g/grub2/grub2_2.04-20_amd64.deb
Size: 2524
MD5sum: 434abc28b58e0ce5462ae9e846dc8aa6
SHA256: d0872aac13c8a62066a278d8c3392d1cfb94fde572476a8fe96c6b6270dc5501