How To Install grub-gfxpayload-lists on Ubuntu 18.04
Introduction
In this tutorial we learn how to install grub-gfxpayload-lists
on Ubuntu 18.04.
What is grub-gfxpayload-lists
grub-gfxpayload-lists is:
The ‘set gfxpayload=keep’ facility in GRUB provides smooth graphical handover to the Linux kernel. Unfortunately, this does not work on all systems, resulting in a black or corrupt display. This package provides a blacklist of PCI IDs which fail.
We maintain this separately from GRUB because it is likely to be updated on a different schedule.
There are three methods to install grub-gfxpayload-lists
on Ubuntu 18.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install grub-gfxpayload-lists Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install grub-gfxpayload-lists
using apt-get
by running the following command:
sudo apt-get -y install grub-gfxpayload-lists
Install grub-gfxpayload-lists Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install grub-gfxpayload-lists
using apt
by running the following command:
sudo apt -y install grub-gfxpayload-lists
Install grub-gfxpayload-lists Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install grub-gfxpayload-lists
using aptitude
by running the following command:
sudo aptitude -y install grub-gfxpayload-lists
How To Uninstall grub-gfxpayload-lists on Ubuntu 18.04
To uninstall only the grub-gfxpayload-lists
package we can use the following command:
sudo apt-get remove grub-gfxpayload-lists
Uninstall grub-gfxpayload-lists And Its Dependencies
To uninstall grub-gfxpayload-lists
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove grub-gfxpayload-lists
Remove grub-gfxpayload-lists Configurations and Data
To remove grub-gfxpayload-lists
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge grub-gfxpayload-lists
Remove grub-gfxpayload-lists configuration, data, and all of its dependencies
We can use the following command to remove grub-gfxpayload-lists
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge grub-gfxpayload-lists
References
Summary
In this tutorial we learn how to install grub-gfxpayload-lists
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.