stress-ng command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
stress-ng: command not found
or when using sudo you get the following error message
sudo: stress-ng: command not found
Solutions to stress-ng: command not found
How To Fix stress-ng: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu stress-ng is provided by stress-ng package.
stress-ng is:
stress-ng can stress various subsystems of a computer. It can stress load CPU, cache, disk, memory, socket and pipe I/O, scheduling and much more. stress-ng is a re-write of the original stress tool by Amos Waterland but has many additional features such as specifying the number of bogo operations to run, execution metrics, a stress verification on memory and compute operations and considerably more stress mechanisms.
To fix this problem, we can install more using the command below.
sudo apt-get -y install stress-ng
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install stress-ng.
sudo apt -y install stress-ng
Or if you have aptitude installed you can use the following command.
sudo aptitude install stress-ng
Summary
In this tutorial we learn how to fix stress-ng command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.