How To Install console-setup-mini on Ubuntu 18.04

In this tutorial we learn how to install console-setup-mini on Ubuntu 18.04. console-setup-mini is console font and keymap setup program - reduced version for Linux

Introduction

In this tutorial we learn how to install console-setup-mini on Ubuntu 18.04.

What is console-setup-mini

console-setup-mini is:

This package provides the console with the same keyboard configuration scheme as the X Window System. As a result, there is no need to duplicate or change the keyboard files just to make simple customizations such as the use of dead keys, the key functioning as AltGr or Compose key, the key(s) to switch between Latin and non-Latin mode, etc.

This package can be useful for handhelds or other devices with small storage space.

There are three methods to install console-setup-mini 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 console-setup-mini Using apt-get

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

sudo apt-get update

After updating apt database, We can install console-setup-mini using apt-get by running the following command:

sudo apt-get -y install console-setup-mini

Install console-setup-mini Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install console-setup-mini using apt by running the following command:

sudo apt -y install console-setup-mini

Install console-setup-mini 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 console-setup-mini using aptitude by running the following command:

sudo aptitude -y install console-setup-mini

How To Uninstall console-setup-mini on Ubuntu 18.04

To uninstall only the console-setup-mini package we can use the following command:

sudo apt-get remove console-setup-mini

Uninstall console-setup-mini And Its Dependencies

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

sudo apt-get -y autoremove console-setup-mini

Remove console-setup-mini Configurations and Data

To remove console-setup-mini configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge console-setup-mini

Remove console-setup-mini configuration, data, and all of its dependencies

We can use the following command to remove console-setup-mini configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge console-setup-mini

References

Summary

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