Install grub-common on Ubuntu: sudo apt-get install grub-common

Learn how to install grub-common with the command sudo apt-get install grub-common on Ubuntus.


 

Ads

Quick installation of grub-common:

Step 1: Update system:

	sudo apt-get update

Step 2: Install: grub-common

Ater updaing the OS run following command to install the packae:

	sudo apt-get install grub-common

Package Details

Package:grub-common
Version:1.99-21ubuntu3.19
Maintainer:Ubuntu Developers
Home page:http://www.gnu.org/software/grub/
Description:GRand Unified Bootloader (common files) This package contains common files shared by the distinct flavours of GRUB. It is shared between GRUB Legacy and GRUB 2, although a number of files specific to GRUB 2 are here as long as they do not break GRUB Legacy. Multi-Arch: foreign Homepage: http://www.gnu.org/software/grub/
Distro:Ubuntu 12.04 LTS
Release:
Repo/Section:admin

How to install grub-common on Ubuntu 12.04 LTS?

First of all update your system with the command:

sudo apt-get update

Ads

Above command will download the package lists for Ubuntu 12.04 LTS on your system. This will update the list of newest versions of packages and its dependencies on your system.

After downloading the latest package list with the help of above you can run the installation process.

If grub-common is not installed on your compter then the command 'dpkg -L grub-common' will give followin error.


Installing grub-common:

After system update use the following command to install grub-common:

sudo apt-get install grub-common

Above command will confirm before installing the package on your Ubuntu 12.04 LTS Operating System. If you are not already logged in as su, installer will ask you the root password. After completion of the installation you can use the package on your system.

How to uninstall/remove grub-common from Ubuntu 12.04 LTS?

Now we will see the commands for uninstalling the grub-common from Ubuntu 12.04 LTS. For uninstalling this package you can easily use the apt command and remove the package from Linux Operating System.

To remove the grub-common following command is used:

sudo apt-get remove  grub-common

Following command is used to remove the grub-common package along with its dependencies:

sudo apt-get remove --auto-remove grub-common

This will remove grub-common and all its dependent packages which is no longer needed in the system.

Completely removing grub-common with all configuration files:

Following command should be used with care as it deletes all the configuration files and data:

sudo apt-get purge grub-common

or you can use following command also:

sudo apt-get purge --auto-remove grub-common

Above command will remove all the configuration files and data associated with grub-common package. You can can't recover the delete data, so, use this command with care.