How To Install grub2-splashimages on Ubuntu 18.04

In this tutorial we learn how to install grub2-splashimages on Ubuntu 18.04. grub2-splashimages is a collection of great GRUB2 splashimages

Introduction

In this tutorial we learn how to install grub2-splashimages on Ubuntu 18.04.

What is grub2-splashimages

grub2-splashimages is:

This package contains a collection of splashimages which can be used for GRUB2. If you’d like your splashimage in this package send them as bug report to Debian BTS.

There are three methods to install grub2-splashimages 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 grub2-splashimages Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install grub2-splashimages using apt-get by running the following command:

sudo apt-get -y install grub2-splashimages

Install grub2-splashimages Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install grub2-splashimages using apt by running the following command:

sudo apt -y install grub2-splashimages

Install grub2-splashimages 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 grub2-splashimages using aptitude by running the following command:

sudo aptitude -y install grub2-splashimages

How To Uninstall grub2-splashimages on Ubuntu 18.04

To uninstall only the grub2-splashimages package we can use the following command:

sudo apt-get remove grub2-splashimages

Uninstall grub2-splashimages And Its Dependencies

To uninstall grub2-splashimages and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove grub2-splashimages

Remove grub2-splashimages Configurations and Data

To remove grub2-splashimages configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge grub2-splashimages

Remove grub2-splashimages configuration, data, and all of its dependencies

We can use the following command to remove grub2-splashimages configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge grub2-splashimages

References

Summary

In this tutorial we learn how to install grub2-splashimages package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.