How To Install network-manager-gnome on Debian 9

In this tutorial we learn how to install network-manager-gnome on Debian 9. network-manager-gnome is network management framework (GNOME frontend)

Introduction

In this tutorial we learn how to install network-manager-gnome on Debian 9.

What is network-manager-gnome

network-manager-gnome is:

NetworkManager is a system network service that manages your network devices and connections, attempting to keep active network connectivity when available. It manages ethernet, WiFi, mobile broadband (WWAN), and PPPoE devices, and provides VPN integration with a variety of different VPN services.

This package contains a systray applet for GNOME’s notification area but it also works for other desktop environments which provide a systray like KDE or Xfce. It displays the available networks and allows users to easily switch between them. For encrypted networks it will prompt the user for the key/passphrase and it can optionally store them in the gnome-keyring.

There are three methods to install network-manager-gnome on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install network-manager-gnome Using apt-get

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

sudo apt-get update

After updating apt database, We can install network-manager-gnome using apt-get by running the following command:

sudo apt-get -y install network-manager-gnome

Install network-manager-gnome Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install network-manager-gnome using apt by running the following command:

sudo apt -y install network-manager-gnome

Install network-manager-gnome 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install network-manager-gnome using aptitude by running the following command:

sudo aptitude -y install network-manager-gnome

How To Uninstall network-manager-gnome on Debian 9

To uninstall only the network-manager-gnome package we can use the following command:

sudo apt-get remove network-manager-gnome

Uninstall network-manager-gnome And Its Dependencies

To uninstall network-manager-gnome and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove network-manager-gnome

Remove network-manager-gnome Configurations and Data

To remove network-manager-gnome configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge network-manager-gnome

Remove network-manager-gnome configuration, data, and all of its dependencies

We can use the following command to remove network-manager-gnome configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge network-manager-gnome

Dependencies

network-manager-gnome have the following dependencies:

References

Summary

In this tutorial we learn how to install network-manager-gnome package on Debian 9 using different package management tools: apt, apt-get and aptitude.