colortail command not found

In this troubleshooting guide we learn how to fix colortail command not found error message

Introduction

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

colortail: command not found

or when using sudo you get the following error message

sudo: colortail: command not found

Solutions to colortail: command not found

How To Fix colortail: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu colortail is provided by colortail package.

colortail is:

colortail works like tail but can optionally read one or more config files where it’s specified which patterns results in which colors. Colortail uses regular expressions (see regex(7)) to determine which lines and parts of lines to print in which colors.

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

sudo apt-get -y install colortail

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

You can also use apt command to install colortail.

sudo apt -y install colortail

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

sudo aptitude install colortail

Summary

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