dtrace command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dtrace: command not found
or when using sudo you get the following error message
sudo: dtrace: command not found
Solutions to dtrace: command not found
How To Fix dtrace: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dtrace is provided by systemtap-sdt-dev package.
systemtap-sdt-dev is:
This package contains header file and executable (dtrace) that can be used to add static probes into userspace applications for use with SystemTap.
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-sdt-dev
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install systemtap-sdt-dev.
sudo apt -y install systemtap-sdt-dev
Or if you have aptitude installed you can use the following command.
sudo aptitude install systemtap-sdt-dev
Summary
In this tutorial we learn how to fix dtrace command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.