staprun command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
staprun: command not found
or when using sudo you get the following error message
sudo: staprun: command not found
Solutions to staprun: command not found
How To Fix staprun: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu staprun is provided by systemtap-runtime package.
systemtap-runtime is:
This package contains staprun program that can be used to run compiled SystemTap probes.
SystemTap provides infrastructure to simplify the gathering of information about the running Linux system.
To be able to write new SystemTap probes, install systemtap package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install systemtap-runtime
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install systemtap-runtime.
sudo apt -y install systemtap-runtime
Or if you have aptitude installed you can use the following command.
sudo aptitude install systemtap-runtime
Summary
In this tutorial we learn how to fix staprun command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.