nm-tray is a simple NetworkManager front end with information icon residing in system tray (like e.g. nm-applet). It’s a pure Qt application. For interaction with NetworkManager it uses API provided by KF5::NetworkManagerQt -> plain DBus communication. I will show you how to install nm-tray on Ubuntu 22.04 in this tutorial.
Requirements to install
- OS: Ubuntu 22.04 or older Ubuntu versions
- Privileges: Verify that you can execute the sudo commands line.
Install nm-tray Ubuntu 22.04
nm-tray is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.
Install nm-tray using APT
This is one of the popular ways to install any Ubuntu packages because it is simple to understand, even if you are a Linux novice. Following these instructions to install nm-tray on your Ubuntu.
Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing the following Linux command:
Step 2: Start installing the packages on Ubuntu 22.04. After updating the system, you can install nm-tray Ubuntu by executing this command in the terminal.
Install nm-tray using Aptitude
Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. You must run this command to install it if you haven’t already done so on Ubuntu.
After installing it, you can now install nm-tray, just following these steps:
Step 1: Update the APT database to download new packages from Ubuntu. Launch the terminal and enter the following Linux command:
Step 2: Install the package on Ubuntu 22.04. After updating the system, you can now install nm-tray Ubuntu by pasting this command into the terminal and pressing
Uninstall nm-tray on Ubuntu 22.04
Have you ever thought that uninstalling an application from Ubuntu might be challenging? You’re wrong; any program, not just a nm-tray, can be easily uninstalled by anyone.
If you installed nm-tray using APT or Aptitude, you could uninstall nm-tray on Ubuntu by running this command
If you want to uninstall nm-tray and delete its data and dependencies, you can also run the following command:
In this guide, I showed you ways to install nm-tray on Ubuntu 22.04 and some ways to uninstall nm-tray too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.