How To Install connman-ui on Kali Linux

In this tutorial we learn how to install connman-ui on Kali Linux. connman-ui is full-featured GTK-based tray icon UI for ConnMan

Introduction

In this tutorial we learn how to install connman-ui on Kali Linux.

What is connman-ui

connman-ui is:

ConnMan-UI targets all WM/DM users except those running Gnome3. It works on any Linux WM/DM which provides a freedesktop-compliant system tray. (KDE, awesome, i3, Xfce, …)

It exposes almost all features provided by the ConnMan API. You can:

  • enable/disable a technology (wired, wifi, cellular, bt, …),
  • connect/disconnect a service
  • configure a service (IPv4, IPv6, DNS, timeservers, etc…)
  • share your current connection (tethering)

Everything is accessible through the mouse via the system tray icon using left/right click.

There are three methods to install connman-ui 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 connman-ui Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install connman-ui

Install connman-ui Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install connman-ui

Install connman-ui 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 connman-ui using aptitude by running the following command:

sudo aptitude -y install connman-ui

How To Uninstall connman-ui on Kali Linux

To uninstall only the connman-ui package we can use the following command:

sudo apt-get remove connman-ui

Uninstall connman-ui And Its Dependencies

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

sudo apt-get -y autoremove connman-ui

Remove connman-ui Configurations and Data

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

sudo apt-get -y purge connman-ui

Remove connman-ui configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge connman-ui

Dependencies

connman-ui have the following dependencies:

References

Summary

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