How to Install and Uninstall grub2 Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 07,2024

1. Install "grub2" package

Here is a brief guide to show you how to install grub2 on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install grub2

2. Uninstall "grub2" package

This is a short guide on how to uninstall grub2 on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the grub2 package on Ubuntu 20.04 LTS (Focal Fossa)

Package: grub2
Architecture: amd64
Version: 2.04-1ubuntu26.17
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-1ubuntu26.17), grub-common (= 2.04-1ubuntu26.17)
Filename: pool/universe/g/grub2/grub2_2.04-1ubuntu26.17_amd64.deb
Size: 2588
MD5sum: 6f066c05f90c6905442487a111d37ac5
SHA1: 8fceeee996e83cb84333fb8e2fd29dcbd0d66664
SHA256: d3e1f1bb2c2afcf7fd5f5c128aa6327f521a85b0c3ef846344a3ddf7e5fedfac
SHA512: b3d2905b25432e201ac5eb402280cf3a96b52bb5fc8d4d29dced4906096ce4d4a91a29f9416f089cd20ced0bdcb61e291bfd604bbfa5c63c2923de2c55188ce6
Homepage: https://www.gnu.org/software/grub/
Description: GRand Unified Bootloader, version 2 (dummy package)
Description-md5: bbb470013d1f2450dba730f10fbd09b4

Package: grub2
Architecture: amd64
Version: 2.04-1ubuntu26.12
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-1ubuntu26.12), grub-common (= 2.04-1ubuntu26.12)
Filename: pool/universe/g/grub2/grub2_2.04-1ubuntu26.12_amd64.deb
Size: 2588
MD5sum: d4bbe4ccd78baf80e71773e43688a612
SHA1: 40dc9a6f20f28356238cdd60971c64f0c100a716
SHA256: 4ddc834c9f922690423b4e79458705f523381222a4c156143dcafaca9580e30e
SHA512: 9f8aa11a93b8fe3ded2fcd269a3d73ed3ae6bc8c479526e393a15829648c222314186f02f345101f5005adb156e10b3772325b91e9b6edb69b21dc4e2cc34623
Homepage: https://www.gnu.org/software/grub/
Description: GRand Unified Bootloader, version 2 (dummy package)
Description-md5: bbb470013d1f2450dba730f10fbd09b4

Package: grub2
Architecture: amd64
Version: 2.04-1ubuntu26
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-1ubuntu26), grub-common (= 2.04-1ubuntu26)
Filename: pool/universe/g/grub2/grub2_2.04-1ubuntu26_amd64.deb
Size: 2572
MD5sum: 9376d089bc75c25ad924d8d7ca96ac5f
SHA1: 900006b66069149c87557792a4919a5a00d6f7e4
SHA256: 11a62c311c0316e27c41194e7037deed15da0e5a88e0a45c2c8e074364cb8baa
Homepage: https://www.gnu.org/software/grub/
Description: GRand Unified Bootloader, version 2 (dummy package)
Description-md5: bbb470013d1f2450dba730f10fbd09b4