How to Install and Uninstall grub2 Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 22,2024

1. Install "grub2" package

This guide covers the steps necessary to install grub2 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install grub2

2. Uninstall "grub2" package

This guide covers the steps necessary to uninstall grub2 on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the grub2 package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: grub2
Architecture: amd64
Version: 2.02~beta2-36ubuntu3.32
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
Pre-Depends: dpkg (>= 1.17.13)
Depends: grub-pc (= 2.02~beta2-36ubuntu3.32), grub-common (= 2.02~beta2-36ubuntu3.32)
Filename: pool/universe/g/grub2/grub2_2.02~beta2-36ubuntu3.32_amd64.deb
Size: 2530
MD5sum: e97d7d69096e938571cf519688a8f941
SHA1: 7c1523c8d08dc98ca9fbcffce71c89b984352cf5
SHA256: c00a1972d6f53f21166153423c14f0fba79cb3b8dad54a9266050d7fff1d9dbe
SHA512: 77f19c9c44d0d6ebc39aa984c860f2d9020cac9aa6ab6b5ccd480f469df709242d8f6b61cd1795bb2ff8fa006a423dee31490a61f96a1ef2a966dfb06e825c2b
Homepage: http://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

Package: grub2
Architecture: amd64
Version: 2.02~beta2-36ubuntu3.27
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
Pre-Depends: dpkg (>= 1.17.13)
Depends: grub-pc (= 2.02~beta2-36ubuntu3.27), grub-common (= 2.02~beta2-36ubuntu3.27)
Filename: pool/universe/g/grub2/grub2_2.02~beta2-36ubuntu3.27_amd64.deb
Size: 2532
MD5sum: aed65a1ed3730d5e69b556b30adbb231
SHA1: c1ba49ac51fb2d4488dca290c98d691baf97f79d
SHA256: 4dd2e522a2c19a484cc10df71a0486c2401497cdb1230534e067073e0cc4c84e
SHA512: 55bba0828257ed1046306136233484f25232bc594465c25769faa5e3969d47ad5c5e1de410bd73ebc87dc0f9cc6f2e0ea0e88d72efb553e70863100e0796f53c
Homepage: http://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

Package: grub2
Priority: extra
Section: universe/admin
Installed-Size: 16
Maintainer: Ubuntu Developers
Original-Maintainer: GRUB Maintainers
Architecture: amd64
Version: 2.02~beta2-36ubuntu3
Depends: grub-pc (= 2.02~beta2-36ubuntu3), grub-common (= 2.02~beta2-36ubuntu3)
Pre-Depends: dpkg (>= 1.17.13)
Filename: pool/universe/g/grub2/grub2_2.02~beta2-36ubuntu3_amd64.deb
Size: 2534
MD5sum: 374f7b85b63425c48dbf959880bba182
SHA1: f59eca01d9d8bd880045c10edc7a55a533c287f3
SHA256: 8ef876c287ce0fe4650e68ca699b7b5af85905b02500c8403194dd58889cd51c
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
Multi-Arch: foreign
Homepage: http://www.gnu.org/software/grub/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu