How To Install libre-dev on Kali Linux

In this tutorial we learn how to install libre-dev on Kali Linux. libre-dev is generic library for real-time communications (development files)

Introduction

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

What is libre-dev

libre-dev is:

Libre is a portable and generic library for real-time communications with async IO support and a complete SIP stack with support for protocols such as SDP, RTP/RTCP, STUN/TURN/ICE, BFCP, HTTP and DNS Client.

The current features are:

  • SIP Stack (RFC 3261)
  • SDP
  • RTP and RTCP
  • SRTP and SRTCP (Secure RTP)
  • DNS-Client
  • STUN/TURN/ICE stack
  • BFCP
  • HTTP-stack with client/server
  • Websockets
  • Jitter-buffer
  • Async I/O (poll, epoll, select, kqueue)
  • UDP/TCP/TLS/DTLS transport
  • JSON parser
  • RTMP and RTMPS (Real Time Messaging Protocol)

Design goals:

Portable POSIX source code (ANSI C89 and ISO C99 standard) Robust, fast, low memory footprint RFC compliance IPv4 and IPv6 support

This package provides development headers.

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

sudo apt-get -y install libre-dev

Install libre-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libre-dev

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

sudo aptitude -y install libre-dev

How To Uninstall libre-dev on Kali Linux

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

sudo apt-get remove libre-dev

Uninstall libre-dev And Its Dependencies

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

sudo apt-get -y autoremove libre-dev

Remove libre-dev Configurations and Data

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

sudo apt-get -y purge libre-dev

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

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

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

Dependencies

libre-dev have the following dependencies:

References

Summary

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