How To Install nm-tray on Kali Linux

In this tutorial we learn how to install nm-tray on Kali Linux. nm-tray is Simple Network Manager frontend written in Qt

Introduction

In this tutorial we learn how to install nm-tray on Kali Linux.

What is nm-tray

nm-tray is:

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.

This package contain the application files.

There are three methods to install nm-tray on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install nm-tray Using apt-get

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

sudo apt-get update

After updating apt database, We can install nm-tray using apt-get by running the following command:

sudo apt-get -y install nm-tray

Install nm-tray Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install nm-tray using apt by running the following command:

sudo apt -y install nm-tray

Install nm-tray Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install nm-tray using aptitude by running the following command:

sudo aptitude -y install nm-tray

How To Uninstall nm-tray on Kali Linux

To uninstall only the nm-tray package we can use the following command:

sudo apt-get remove nm-tray

Uninstall nm-tray And Its Dependencies

To uninstall nm-tray and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove nm-tray

Remove nm-tray Configurations and Data

To remove nm-tray configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge nm-tray

Remove nm-tray configuration, data, and all of its dependencies

We can use the following command to remove nm-tray configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge nm-tray

Dependencies

nm-tray have the following dependencies:

References

Summary

In this tutorial we learn how to install nm-tray package on Kali Linux using different package management tools: apt, apt-get and aptitude.