How To Install inn2-dev on Kali Linux

In this tutorial we learn how to install inn2-dev on Kali Linux. inn2-dev is libinn.a library, headers and man pages

Introduction

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

What is inn2-dev

inn2-dev is:

You will only need this if you are going to compile programs that require the functions in libinn.a.

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

sudo apt-get -y install inn2-dev

Install inn2-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install inn2-dev

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

sudo aptitude -y install inn2-dev

How To Uninstall inn2-dev on Kali Linux

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

sudo apt-get remove inn2-dev

Uninstall inn2-dev And Its Dependencies

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

sudo apt-get -y autoremove inn2-dev

Remove inn2-dev Configurations and Data

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

sudo apt-get -y purge inn2-dev

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

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

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

Dependencies

inn2-dev have the following dependencies:

References

Summary

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