nm-connection-editor command not found

In this troubleshooting guide we learn how to fix nm-connection-editor command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

nm-connection-editor: command not found

or when using sudo you get the following error message

sudo: nm-connection-editor: command not found

Solutions to nm-connection-editor: command not found

How To Fix nm-connection-editor: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nm-connection-editor is provided by network-manager-gnome package.

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.

To fix this problem, we can install more using the command below.

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

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install network-manager-gnome.

sudo apt -y install network-manager-gnome

Or if you have aptitude installed you can use the following command.

sudo aptitude install network-manager-gnome

Summary

In this tutorial we learn how to fix nm-connection-editor command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.