stress command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
stress: command not found
or when using sudo you get the following error message
sudo: stress: command not found
Solutions to stress: command not found
How To Fix stress: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu stress is provided by stress package.
stress is:
‘stress’ is a tool that imposes a configurable amount of CPU, memory, I/O, or disk stress on a POSIX-compliant operating system and reports any errors it detects.
‘stress’ is not a benchmark. It is a tool used by system administrators to evaluate how well their systems will scale, by kernel programmers to evaluate perceived performance characteristics, and by systems programmers to expose the classes of bugs which only or more frequently manifest themselves when the system is under heavy load.
To fix this problem, we can install more using the command below.
sudo apt-get -y install stress
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install stress.
sudo apt -y install stress
Or if you have aptitude installed you can use the following command.
sudo aptitude install stress
Summary
In this tutorial we learn how to fix stress command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.