How To Install libcivetweb-dev on Kali Linux

In this tutorial we learn how to install libcivetweb-dev on Kali Linux. libcivetweb-dev is embeddable web server with optional CGI, SSL and Lua support (devel)

Introduction

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

What is libcivetweb-dev

libcivetweb-dev is:

CivetWeb is an easy to use, powerful, C (C/C++) embeddable web server with optional CGI, SSL and Lua support. CivetWeb has a MIT license so you can innovate without restrictions.

CivetWeb can be used by developers as a library, to add web server functionality to an existing application.

It can also be used by end users as a stand-alone web server running on a Windows or Linux PC. It is available as single executable, no installation is required.

This package contains the header file for developing applications using civetweb.

There are three methods to install libcivetweb-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 libcivetweb-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 libcivetweb-dev using apt-get by running the following command:

sudo apt-get -y install libcivetweb-dev

Install libcivetweb-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcivetweb-dev

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

sudo aptitude -y install libcivetweb-dev

How To Uninstall libcivetweb-dev on Kali Linux

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

sudo apt-get remove libcivetweb-dev

Uninstall libcivetweb-dev And Its Dependencies

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

sudo apt-get -y autoremove libcivetweb-dev

Remove libcivetweb-dev Configurations and Data

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

sudo apt-get -y purge libcivetweb-dev

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

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

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

Dependencies

libcivetweb-dev have the following dependencies:

References

Summary

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