How To Install sysdig-dkms on Ubuntu 20.04
Introduction
In this tutorial we learn how to install sysdig-dkms
on Ubuntu 20.04.
What is sysdig-dkms
sysdig-dkms 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 source for the kernel module of sysdig.
Package: sysdig-dkms Architecture: all Version: 0.26.4-1 Priority: optional Section: universe/admin Source: sysdig Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Evgeni Golov [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 666 Depends: dkms (>= 2.1.0.0) Filename: pool/universe/s/sysdig/sysdig-dkms_0.26.4-1_all.deb Size: 92996 MD5sum: ce6f59e9dcdcf84f1c31830255401f79 SHA1: f931e25179caac8448e61d49632c00d4c7796fd6 SHA256: 8e9148fda539efed9b378afe568372d79cd8efbde0693057ecdd1e9e43f4f13a Homepage: https://www.sysdig.org/ Description-en: system-level exploration and troubleshooting tool - kernel source 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 source for the kernel module of sysdig.
There are three methods to install sysdig-dkms
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install sysdig-dkms Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install sysdig-dkms
using apt-get
by running the following command:
sudo apt-get -y install sysdig-dkms
Install sysdig-dkms Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install sysdig-dkms
using apt
by running the following command:
sudo apt -y install sysdig-dkms
Install sysdig-dkms Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install sysdig-dkms
using aptitude
by running the following command:
sudo aptitude -y install sysdig-dkms
How To Uninstall sysdig-dkms on Ubuntu 20.04
To uninstall only the sysdig-dkms
package we can use the following command:
sudo apt-get remove sysdig-dkms
Uninstall sysdig-dkms And Its Dependencies
To uninstall sysdig-dkms
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove sysdig-dkms
Remove sysdig-dkms Configurations and Data
To remove sysdig-dkms
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge sysdig-dkms
Remove sysdig-dkms configuration, data, and all of its dependencies
We can use the following command to remove sysdig-dkms
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge sysdig-dkms
References
Summary
In this tutorial we learn how to install sysdig-dkms
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.