How to Install and Uninstall grub2 Package on Debian 12 (Bookworm)
Last updated: November 22,2024
Notice
You can also install and uninstall the grub2 on the following distributions in the same way, as they are all based on the Debian system
- MX Linux 23
- SparkyLinux
1. Install "grub2" package
In this section, we are going to explain the necessary steps to install grub2 on Debian 12 (Bookworm)
$
sudo apt update
Copied
$
sudo apt install
grub2
Copied
2. Uninstall "grub2" package
Here is a brief guide to show you how to uninstall grub2 on Debian 12 (Bookworm):
$
sudo apt remove
grub2
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the grub2 package on Debian 12 (Bookworm)
Package: grub2
Version: 2.06-13+deb12u1
Installed-Size: 12
Maintainer: GRUB Maintainers
Architecture: amd64
Depends: grub-pc (= 2.06-13+deb12u1), grub-common (= 2.06-13+deb12u1)
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.06-13+deb12u1_amd64.deb
Size: 2364
MD5sum: 1dec584f327028dc072476c294b411fa
SHA256: f75f168ff6b54fb08c7f881394ade08a6884fe655d83485e79117c7963a50fd1
Version: 2.06-13+deb12u1
Installed-Size: 12
Maintainer: GRUB Maintainers
Architecture: amd64
Depends: grub-pc (= 2.06-13+deb12u1), grub-common (= 2.06-13+deb12u1)
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.06-13+deb12u1_amd64.deb
Size: 2364
MD5sum: 1dec584f327028dc072476c294b411fa
SHA256: f75f168ff6b54fb08c7f881394ade08a6884fe655d83485e79117c7963a50fd1