How To Install undertaker on Debian 9
Introduction
In this tutorial we learn how to install undertaker
on Debian 9.
What is undertaker
undertaker is:
The “undertaker” is a tool suite for static source code analysis for checking C preprocessor directives. Also included are “golem”, “vampyr” and “undertaker-tailor”.
It can check their structure against different configuration models to find “dead” blocks that can never be selected and “undead” blocks that can never be deselected.
The included “golem” tool is able to infer variability constraints from Kbuild-like build systems, such as found in Linux, busybox and coreboot. Its results greatly improves the model that undertaker uses for the analysis.
The tool “vampyr” is a conditional-compilation aware driver. It uses the “undertaker” tool to calculate a set of configurations and calls a backend-scanner on each of them. Supported scanners include: “gcc”, “sparse”, and “clang”.
The tool “undertaker-tailor” calculates a kernel configuration based on a profile, which is traced with Linux ftrace mechanism. The resulting kernel exhibits a much smaller attack surface and results in a significant more secure kernel.
There are three methods to install undertaker
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install undertaker Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install undertaker
using apt-get
by running the following command:
sudo apt-get -y install undertaker
Install undertaker Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install undertaker
using apt
by running the following command:
sudo apt -y install undertaker
Install undertaker 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 undertaker
using aptitude
by running the following command:
sudo aptitude -y install undertaker
How To Uninstall undertaker on Debian 9
To uninstall only the undertaker
package we can use the following command:
sudo apt-get remove undertaker
Uninstall undertaker And Its Dependencies
To uninstall undertaker
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove undertaker
Remove undertaker Configurations and Data
To remove undertaker
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge undertaker
Remove undertaker configuration, data, and all of its dependencies
We can use the following command to remove undertaker
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge undertaker
Dependencies
undertaker have the following dependencies:
References
Summary
In this tutorial we learn how to install undertaker
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.