How To Install systemtap-server on Debian 10

Learn how to install systemtap-server on Debian 10 with this tutorial. systemtap-server is instrumentation system for Linux (compile server)

Introduction

In this tutorial we learn how to install systemtap-server on Debian 10.

What is systemtap-server

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.

There are three methods to install systemtap-server on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install systemtap-server Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install systemtap-server using apt-get by running the following command:

sudo apt-get -y install systemtap-server

Install systemtap-server Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install systemtap-server using apt by running the following command:

sudo apt -y install systemtap-server

Install systemtap-server 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install systemtap-server using aptitude by running the following command:

sudo aptitude -y install systemtap-server

How To Uninstall systemtap-server on Debian 10

To uninstall only the systemtap-server package we can use the following command:

sudo apt-get remove systemtap-server

Uninstall systemtap-server And Its Dependencies

To uninstall systemtap-server and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove systemtap-server

Remove systemtap-server Configurations and Data

To remove systemtap-server configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge systemtap-server

Remove systemtap-server configuration, data, and all of its dependencies

We can use the following command to remove systemtap-server configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge systemtap-server

Dependencies

systemtap-server have the following dependencies:

References

Summary

In this tutorial we learn how to install systemtap-server package on Debian 10 using different package management tools: apt, apt-get and aptitude.