clitest command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
clitest: command not found
or when using sudo you get the following error message
sudo: clitest: command not found
Solutions to clitest: command not found
How To Fix clitest: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu clitest is provided by clitest package.
clitest is:
Clitest is a portable POSIX shell script that performs automatic testing in Unix command lines. This script was carefully coded to be portable between POSIX shells.
It’s the same concept as in Python’s doctest module: you document both the commands and their expected output, using the familiar interactive prompt format, and a specialized tool tests them.
The clitest command searches for pieces of text that look like interactive Unix command lines, and then executes those command lines to verify that they work exactly as shown.
To fix this problem, we can install more using the command below.
sudo apt-get -y install clitest
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install clitest.
sudo apt -y install clitest
Or if you have aptitude installed you can use the following command.
sudo aptitude install clitest
Summary
In this tutorial we learn how to fix clitest command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.