How To Install libre-dev on Debian 9

In this tutorial we learn how to install libre-dev on Debian 9. libre-dev is Generic library for real-time communications (development files)

Introduction

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

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 parser RTP and RTCP stack DNS-Client STUN/TURN/ICE stack BFCP Jitter-buffer Async I/O (poll, epoll, select) UDP/TCP/TLS transport

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 is only the library development files.

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

sudo aptitude -y install libre-dev

How To Uninstall libre-dev on Debian 9

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 Debian 9, 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 Debian 9 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 Debian 9 using different package management tools: apt, apt-get and aptitude.