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