colortest-python command not found

In this troubleshooting guide we learn how to fix colortest-python command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

colortest-python: command not found

or when using sudo you get the following error message

sudo: colortest-python: command not found

Solutions to colortest-python: command not found

How To Fix colortest-python: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu colortest-python is provided by colortest-python package.

colortest-python 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 program automatically detects 8, 16, 88, 256 color capabilities (via ncurses) and displays the appropriate color charts. Program can display the colors as blocks or 2d cubes optionally with color values overlaid in int or hex values, it can show the full rgb text string and show the display with a vertical (default) or horizontal orientation.

In addition to the color charts it can also convert between 256 and 88 color values. This can be useful when converting various terminals like between urxvt and xterm-256.

The goal in writing this script was to provide all the functionality of all the various terminal color displaying scripts found around the web in one place with some additional bells and whistles.

To fix this problem, we can install more using the command below.

sudo apt-get -y install colortest-python

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install colortest-python.

sudo apt -y install colortest-python

Or if you have aptitude installed you can use the following command.

sudo aptitude install colortest-python

Summary

In this tutorial we learn how to fix colortest-python command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.