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-get
which is used to add packages from the official repositories. All you have to do is run these steps:
- Open the console by any convenient method, for example, through the menu by selecting the corresponding icon.
- Enter the string in the input field
sudo apt-get install network-manager
and press the button I went into. - Enter the password for your super user account to confirm the installation. Characters entered in the field are not displayed for security reasons.
- If necessary, new packages will be added to the system. You will be notified if the required component is present.
- The only thing left to do is run “Network administrator”. using a command
sudo service NetworkManager start
. - Use the Nmcli utility to check if the tool works. See the status through
nmcli general status
. - On the new line, you will see information about the connection and the active wireless network.
- You can find out your hostname by typing
nmcli general hostname
. - Available network connections are defined by
nmcli connection show
.
Regarding additional command arguments nmcli
There 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.
- Run “Terminal”. and insert the command in the field.
snap install network-manager
and then press the key I went into. - A new window will appear requesting user authentication. Enter the password and click “Confirm”..
- Wait for all components to finish loading.
- Check the operation of the tool by
snap interfaces network-manager
. - If the network still does not work, it will have to be activated by entering
sudo ifconfig eth0 up
where eth0 – the required network. - 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?