workgen command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
workgen: command not found
or when using sudo you get the following error message
sudo: workgen: command not found
Solutions to workgen: command not found
How To Fix workgen: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu workgen is provided by rt-app package.
rt-app is:
rt-app is a test application that starts multiple periodic threads in order to simulate a real-time periodic load. It supports the SCHED_OTHER/SCHED_FIFO/SCHED_RR kernel mechanisms as well as the AQuoSA framework and SCHED_DEADLINE. It can be run with a simple command-line config, or a more complex set of tasks/threads configured in a (json) config file.
To fix this problem, we can install more using the command below.
sudo apt-get -y install rt-app
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install rt-app.
sudo apt -y install rt-app
Or if you have aptitude installed you can use the following command.
sudo aptitude install rt-app
Summary
In this tutorial we learn how to fix workgen command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.