sysdig command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sysdig: command not found
or when using sudo you get the following error message
sudo: sysdig: command not found
Solutions to sysdig: command not found
How To Fix sysdig: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sysdig is provided by sysdig package.
sysdig is:
Sysdig instruments your physical and virtual machines at the OS level by installing into the Linux kernel and capturing system calls and other OS events. Then, using sysdig’s command line interface, you can filter and decode these events in order to extract useful information and statistics.
Sysdig can be used to inspect live systems in real-time, or to generate trace files that can be analyzed at a later stage.
This package contains the tool to inspect trace files. If you want to inspect a live system, you also need to install the according kernel module, shipped in the package sysdig-dkms.
To fix this problem, we can install more using the command below.
sudo apt-get -y install sysdig
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install sysdig.
sudo apt -y install sysdig
Or if you have aptitude installed you can use the following command.
sudo aptitude install sysdig
Summary
In this tutorial we learn how to fix sysdig command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.