Learn how to install grub-pc with the command sudo apt-get install grub-pc on Ubuntus.
Ads
Quick installation of grub-pc:
Step 1: Update system:
sudo apt-get update
Step 2: Install: grub-pc
Ater updaing the OS run following command to install the packae:
sudo apt-get install grub-pc
Package Details | |
Package: | grub-pc |
Version: | 1.99-21ubuntu3.19 |
Maintainer: | Ubuntu Developers |
Home page: | http://www.gnu.org/software/grub/ |
Description: | GRand Unified Bootloader, version 2 (PC/BIOS version) GRUB is a portable, powerful bootloader. This version of GRUB is based on a cleaner design than its predecessors, and provides the following new features: . - Scripting in grub.cfg using BASH-like syntax. - Support for modern partition maps such as GPT. - Modular generation of grub.cfg via update-grub. Packages providing GRUB add-ons can plug in their own script rules and trigger updates by invoking update-grub2. - VESA-based graphical mode with background image support and complete 24-bit color set. - Support for extended charsets. Users can write UTF-8 text to their menu entries. . This package contains a version of GRUB that has been built for use with traditional PC/BIOS architecture. Multi-Arch: foreign Homepage: http://www.gnu.org/software/grub/ |
Distro: | Ubuntu 12.04 LTS |
Release: | |
Repo/Section: | admin |
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-pc is not installed on your compter then the command 'dpkg -L grub-pc' will give followin error.
Installing grub-pc:
After system update use the following command to install grub-pc:
sudo apt-get install grub-pc
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.
Now we will see the commands for uninstalling the grub-pc 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-pc following command is used:
sudo apt-get remove grub-pc
Following command is used to remove the grub-pc package along with its dependencies:
sudo apt-get remove --auto-remove grub-pc
This will remove grub-pc and all its dependent packages which is no longer needed in the system.
Completely removing grub-pc 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-pc
or you can use following command also:
sudo apt-get purge --auto-remove grub-pc
Above command will remove all the configuration files and data associated with grub-pc package. You can can't recover the delete data, so, use this command with care.