shelltest command not found

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

Introduction

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

shelltest: command not found

or when using sudo you get the following error message

sudo: shelltest: command not found

Solutions to shelltest: command not found

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

In Ubuntu shelltest is provided by shelltestrunner package.

shelltestrunner is:

shelltestrunner is a cross-platform tool for testing command-line programs (or arbitrary shell commands). It reads simple declarative tests specifying a command, some input, and the expected output, error output and exit status. Tests can be run selectively, in parallel, with a timeout, in color, and/or with differences highlighted.

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

sudo apt-get -y install shelltestrunner

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

You can also use apt command to install shelltestrunner.

sudo apt -y install shelltestrunner

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

sudo aptitude install shelltestrunner

Summary

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