Installing NetworkManager on Ubuntu ▷ ➡️ IK4 ▷ ➡️

Installing NetworkManager on Ubuntu

Network connections in the Ubuntu operating system are managed through a tool called NetworkManager. Through the console, it not only allows you to see a list of networks, but also to activate connections to specific networks and configure them of all kinds with an additional utility. NetworkManager is already present in Ubuntu by default, but you may have to reinstall it if it uninstalls or fails. Today we will show you how to do it using two different methods.

Installing NetworkManager on Ubuntu

NetworkManager installation, like most other utilities, is done through the “Terminal”. using the appropriate commands. We want to show two installation methods from the official repository, but different commands, and you will only have to read each one of them and choose the most appropriate one.

Method 1: The apt-get command

Latest stable version “Network administrator”. is loaded using a standard command apt-getwhich is used to add packages from the official repositories. All you have to do is run these steps:

  1. Open the console by any convenient method, for example, through the menu by selecting the corresponding icon.
  2. Enter the string in the input field sudo apt-get install network-manager and press the button I went into.
  3. Enter the password for your super user account to confirm the installation. Characters entered in the field are not displayed for security reasons.
  4. If necessary, new packages will be added to the system. You will be notified if the required component is present.
  5. The only thing left to do is run “Network administrator”. using a command sudo service NetworkManager start.
  6. Use the Nmcli utility to check if the tool works. See the status through nmcli general status.
  7. On the new line, you will see information about the connection and the active wireless network.
  8. You can find out your hostname by typing nmcli general hostname.
  9. Available network connections are defined by nmcli connection show.

Regarding additional command arguments nmcliThere are several of them. Each of them performs certain actions:

  • device – Interaction with network interfaces;
  • connection – connection management;
  • general – Show information about network protocols;
  • radio – Wi-Fi, Ethernet control;
  • networking – network settings.

Now you know how NetworkManager is restored and managed through an additional utility. However, some users may need a different installation method, which we will see below.

Method 2: Ubuntu Store

Many applications, services, and utilities are available for download from the official Ubuntu store. It is also where you can find “Network manager”.. There is a separate command for its installation.

  1. Run “Terminal”. and insert the command in the field. snap install network-managerand then press the key I went into.
  2. A new window will appear requesting user authentication. Enter the password and click “Confirm”..
  3. Wait for all components to finish loading.
  4. Check the operation of the tool by snap interfaces network-manager.
  5. If the network still does not work, it will have to be activated by entering sudo ifconfig eth0 upwhere eth0 – the required network.
  6. The connection will be terminated as soon as the root access password is entered.

The above methods will allow you to add the NetworkManager application packages to your operating system without any difficulty. We suggest exactly two options, as one of them may not work in case of certain operating system failures.

We are glad that we have been able to help you with the problem.

Describe what has not worked for you.
Our specialists will try to respond as quickly as possible.

Has this article helped you?