How To Install libcwidget-dev on Kali Linux

In this tutorial we learn how to install libcwidget-dev on Kali Linux. libcwidget-dev is high-level terminal interface library for C++ (development files)

Introduction

In this tutorial we learn how to install libcwidget-dev on Kali Linux.

What is libcwidget-dev

libcwidget-dev is:

libcwidget is a modern user interface library modeled on GTK+ and Qt, but using curses as its display layer and with widgets that are tailored to a terminal environment.

This package contains files that are needed to write or compile software that uses libcwidget.

WARNING: this is a newly created library whose development is closely tied to the development of aptitude. Its API may be incomplete and is likely to change considerably version-over-version! You may want to avoid cwidget for stable projects.

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

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

sudo apt-get update

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

sudo apt-get -y install libcwidget-dev

Install libcwidget-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcwidget-dev

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

sudo aptitude -y install libcwidget-dev

How To Uninstall libcwidget-dev on Kali Linux

To uninstall only the libcwidget-dev package we can use the following command:

sudo apt-get remove libcwidget-dev

Uninstall libcwidget-dev And Its Dependencies

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

sudo apt-get -y autoremove libcwidget-dev

Remove libcwidget-dev Configurations and Data

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

sudo apt-get -y purge libcwidget-dev

Remove libcwidget-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libcwidget-dev

Dependencies

libcwidget-dev have the following dependencies:

References

Summary

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