How To Install yum-NetworkManager-dispatcher on CentOS 7
Introduction
In this tutorial we learn how to install yum-NetworkManager-dispatcher on CentOS 7.
What is yum-NetworkManager-dispatcher
This NetworkManager “dispatch script” forces yum to check its cache if/when a new network connection happens in NetworkManager. Note that currently there is no checking of previous data, so if your WiFi keeps going up and down (or you suspend/resume a lot) yum will recheck its cached data a lot.
We can use yum or dnf to install yum-NetworkManager-dispatcher on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install yum-NetworkManager-dispatcher.
Install yum-NetworkManager-dispatcher on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install yum-NetworkManager-dispatcher using yum by running the following command:
sudo yum -y install yum-NetworkManager-dispatcher
Install yum-NetworkManager-dispatcher on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install yum-NetworkManager-dispatcher using dnf by running the following command:
sudo dnf -y install yum-NetworkManager-dispatcher
How To Uninstall yum-NetworkManager-dispatcher on CentOS 7
To uninstall only the yum-NetworkManager-dispatcher package we can use the following command:
sudo dnf remove yum-NetworkManager-dispatcher
References
Summary
In this tutorial we learn how to install yum-NetworkManager-dispatcher on CentOS 7 using yum and dnf.