pstack command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pstack: command not found
or when using sudo you get the following error message
sudo: pstack: command not found
Solutions to pstack: command not found
How To Fix pstack: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pstack is provided by pstack package.
pstack is:
pstack dumps a stack trace for a process, given the PID of that process. If the process named is part of a thread group, then all the threads in the group are traced.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pstack
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pstack.
sudo apt -y install pstack
Or if you have aptitude installed you can use the following command.
sudo aptitude install pstack
Summary
In this tutorial we learn how to fix pstack command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.