How To Install colortest on Debian 9
Introduction
In this tutorial we learn how to install colortest
on Debian 9.
What is colortest
colortest is:
Most terminals are capable of displaying 16 colors; 8 colors and 2 different brightness values, some (like xterm) can display more, even 256 colors.
The colortest package includes set of utilities to help test how many colors a terminal can show. These color settings depend on the $TERM environment variable and termcap entry and by adjusting or selecting correct values, higher colors may be available. The following numbers of colors can be tested for: 8, 16 and 256 colors.
There are three methods to install colortest
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install colortest Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install colortest
using apt-get
by running the following command:
sudo apt-get -y install colortest
Install colortest Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install colortest
using apt
by running the following command:
sudo apt -y install colortest
Install colortest 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install colortest
using aptitude
by running the following command:
sudo aptitude -y install colortest
How To Uninstall colortest on Debian 9
To uninstall only the colortest
package we can use the following command:
sudo apt-get remove colortest
Uninstall colortest And Its Dependencies
To uninstall colortest
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove colortest
Remove colortest Configurations and Data
To remove colortest
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge colortest
Remove colortest configuration, data, and all of its dependencies
We can use the following command to remove colortest
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge colortest
Dependencies
colortest have the following dependencies:
References
Summary
In this tutorial we learn how to install colortest
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.