How To Install libicap-dev on Debian 9

In this tutorial we learn how to install libicap-dev on Debian 9. libicap-dev is ICAP server (RFC 3507) implementation in C++ (development files)

Introduction

In this tutorial we learn how to install libicap-dev on Debian 9.

What is libicap-dev

libicap-dev is:

The main goal of this project is to create an ICAP server (RFC 3507) implementation in C++ to use the power of object oriented programming.

Starting from scratch, the server is developed with a modular architecture in mind. The server core (written in C++) will handle the client requests, manage workers (child processes) etc. and will provide basic handlers to serve ICAP requests.

To extend this core functionality the idea is to have pluggable modules (like Apache server modules). These modules will provide features like content filtering, anti-virus scanning etc. and to make it easier to write (and faster to implement) such modules there is hope to exploit Python programming language.

This package holds the development files.

There are three methods to install libicap-dev on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libicap-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 libicap-dev using apt-get by running the following command:

sudo apt-get -y install libicap-dev

Install libicap-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libicap-dev

Install libicap-dev Using aptitude

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

sudo aptitude update

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

sudo aptitude -y install libicap-dev

How To Uninstall libicap-dev on Debian 9

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

sudo apt-get remove libicap-dev

Uninstall libicap-dev And Its Dependencies

To uninstall libicap-dev and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libicap-dev

Remove libicap-dev Configurations and Data

To remove libicap-dev configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libicap-dev

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

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

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

Dependencies

libicap-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libicap-dev package on Debian 9 using different package management tools: apt, apt-get and aptitude.