How To Install das-watchdog on Kali Linux

In this tutorial we learn how to install das-watchdog on Kali Linux. das-watchdog is solves system lock-ups by making all processes non-realtime

Introduction

In this tutorial we learn how to install das-watchdog on Kali Linux.

What is das-watchdog

das-watchdog is:

Das_Watchdog is a general watchdog for the Linux operating system that should be run in the background at all times to ensure a realtime process won’t hang the machine.

Das_Watchdog is inspired by the rt_watchdog program from Florian Schmidt, but has some improvements over it:

  • It works with 2.4 kernels as well as 2.6.
  • Instead of permanently setting all realtime processes to run non-realtime, das_watchdog only sets them temporary.
  • When the watchdog kicks in, an X window should pop up that tells you whats happening (just close it after reading the message).

There are three methods to install das-watchdog on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install das-watchdog Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install das-watchdog

Install das-watchdog Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install das-watchdog

Install das-watchdog Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install das-watchdog

How To Uninstall das-watchdog on Kali Linux

To uninstall only the das-watchdog package we can use the following command:

sudo apt-get remove das-watchdog

Uninstall das-watchdog And Its Dependencies

To uninstall das-watchdog and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove das-watchdog

Remove das-watchdog Configurations and Data

To remove das-watchdog configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge das-watchdog

Remove das-watchdog configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge das-watchdog

Dependencies

das-watchdog have the following dependencies:

References

Summary

In this tutorial we learn how to install das-watchdog package on Kali Linux using different package management tools: apt, apt-get and aptitude.