How To Install networkd-dispatcher on Ubuntu 20.04
Introduction
In this tutorial we learn how to install networkd-dispatcher
on Ubuntu 20.04.
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. Task: minimal
Package: networkd-dispatcher Architecture: all Version: 2.0.1-1 Priority: important Section: utils Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Julian Andres Klode [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 66 Depends: dbus, gir1.2-glib-2.0, python3-dbus, python3-gi, python3:any Suggests: iw | wireless-tools Filename: pool/main/n/networkd-dispatcher/networkd-dispatcher_2.0.1-1_all.deb Size: 14420 MD5sum: 2364f8fe813606c7b6a883476467c069 SHA1: 64a8407a262dcd2960d7c0f05b1804dd1bc31279 SHA256: 674ef0601a6fa860437ebd90574d18d77ddb69c5316d1fc91c0d9503b7639a84 Homepage: https://github.com/craftyguy/networkd-dispatcher Description-en: Dispatcher service for systemd-networkd connection status changes 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. Task: minimal
There are three methods to install networkd-dispatcher
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 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 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 networkd-dispatcher
using aptitude
by running the following command:
sudo aptitude -y install networkd-dispatcher
How To Uninstall networkd-dispatcher on Ubuntu 20.04
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 Ubuntu 20.04, 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 Ubuntu 20.04 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
References
Summary
In this tutorial we learn how to install networkd-dispatcher
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.