How To Install networkd-dispatcher on Kali Linux

In this tutorial we learn how to install networkd-dispatcher on Kali Linux. networkd-dispatcher is Dispatcher service for systemd-networkd connection status changes

Introduction

In this tutorial we learn how to install networkd-dispatcher on Kali Linux.

What is networkd-dispatcher

networkd-dispatcher is:

Networkd-dispatcher is a dispatcher daemon for systemd-networkd connection status changes. It is similar to NetworkManager-dispatcher, but is much more limited in the types of events it supports due to the limited nature of systemd-networkd.

There are three methods to install networkd-dispatcher 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 networkd-dispatcher Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install networkd-dispatcher

Install networkd-dispatcher Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install networkd-dispatcher

Install networkd-dispatcher 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 networkd-dispatcher using aptitude by running the following command:

sudo aptitude -y install networkd-dispatcher

How To Uninstall networkd-dispatcher on Kali Linux

To uninstall only the networkd-dispatcher package we can use the following command:

sudo apt-get remove networkd-dispatcher

Uninstall networkd-dispatcher And Its Dependencies

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

sudo apt-get -y autoremove networkd-dispatcher

Remove networkd-dispatcher Configurations and Data

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

sudo apt-get -y purge networkd-dispatcher

Remove networkd-dispatcher configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge networkd-dispatcher

Dependencies

networkd-dispatcher have the following dependencies:

References

Summary

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