How To Install libortp-dev on Debian 12

Learn how to install libortp-dev on Debian 12 with this tutorial. libortp-dev is Development files for the ortp RTP library

Introduction

In this tutorial we learn how to install libortp-dev on Debian 12.

What is libortp-dev

libortp-dev is:

This library implements RFC 3550 (RTP) and offers an easy to use API with high-level and low-level access. It is part of Linphone.

The main features are support for multiple profiles (AV profile RFC 3551 being the default one); an optional packet scheduler for synchronizing RTP recv and send; blocking or non-blocking IO for RTP sessions; multiplexed IO; some of RFC 4733 for telephone events over RTP.

This package contains the development files.

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

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

sudo apt-get -y install libortp-dev

Install libortp-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libortp-dev

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

sudo aptitude -y install libortp-dev

How To Uninstall libortp-dev on Debian 12

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

sudo apt-get remove libortp-dev

Uninstall libortp-dev And Its Dependencies

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

sudo apt-get -y autoremove libortp-dev

Remove libortp-dev Configurations and Data

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

sudo apt-get -y purge libortp-dev

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

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

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

Dependencies

libortp-dev have the following dependencies:

References

Summary

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