runtest command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
runtest: command not found
or when using sudo you get the following error message
sudo: runtest: command not found
Solutions to runtest: command not found
How To Fix runtest: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu runtest is provided by dejagnu package.
dejagnu is:
DejaGnu is a framework for testing other programs. Its purpose is to provide a single front end for all tests.
DejaGnu provides a layer of abstraction which allows you to write tests that are portable to any host or target where a program must be tested. All tests have the same output format.
DejaGnu is written in `expect’, which in turn uses “Tcl”–Tool command language.
To fix this problem, we can install more using the command below.
sudo apt-get -y install dejagnu
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install dejagnu.
sudo apt -y install dejagnu
Or if you have aptitude installed you can use the following command.
sudo aptitude install dejagnu
Summary
In this tutorial we learn how to fix runtest command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.