How To Install NetworkManager-config-server on CentOS 7

In this tutorial we learn how to install NetworkManager-config-server on CentOS 7. NetworkManager-config-server is NetworkManager config file for server-like defaults

Introduction

In this tutorial we learn how to install NetworkManager-config-server on CentOS 7.

What is NetworkManager-config-server

This adds a NetworkManager configuration file to make it behave more like the old “network” service. In particular, it stops NetworkManager from automatically running DHCP on unconfigured ethernet devices, and allows connections with static IP addresses to be brought up even on ethernet devices with no carrier. This package is intended to be installed by default for server deployments.

We can use yum or dnf to install NetworkManager-config-server on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install NetworkManager-config-server.

Install NetworkManager-config-server on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install NetworkManager-config-server using yum by running the following command:

sudo yum -y install NetworkManager-config-server

Install NetworkManager-config-server 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 NetworkManager-config-server using dnf by running the following command:

sudo dnf -y install NetworkManager-config-server

How To Uninstall NetworkManager-config-server on CentOS 7

To uninstall only the NetworkManager-config-server package we can use the following command:

sudo dnf remove NetworkManager-config-server

References

Summary

In this tutorial we learn how to install NetworkManager-config-server on CentOS 7 using yum and dnf.