How To Install resiprocate-turn-server on Debian 9

In this tutorial we learn how to install resiprocate-turn-server on Debian 9. resiprocate-turn-server is reSIProcate SIP stack - ICE/TURN server

Introduction

In this tutorial we learn how to install resiprocate-turn-server on Debian 9.

What is resiprocate-turn-server

resiprocate-turn-server is:

reTurn is the TURN server developed as part of the reSIProcate project. TURN (RFC 5766) provides a standardised solution for VoIP applications to find the most efficient way to route media streams when NAT and firewall devices may be present.

reTurn provides a high-quality, low maintenance solution for serving small and large IP telephony installations. It has been used successfully with a variety of SIP and Jabber applications, including Lumicall, Jitsi, Empathy and Psi.

reSIProcate is a framework that aims to fully implement the SIP protocol in first class C++. It is intended for use in other applications, such as the repro SIP proxy.

There are three methods to install resiprocate-turn-server 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 resiprocate-turn-server Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install resiprocate-turn-server using apt-get by running the following command:

sudo apt-get -y install resiprocate-turn-server

Install resiprocate-turn-server Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install resiprocate-turn-server using apt by running the following command:

sudo apt -y install resiprocate-turn-server

Install resiprocate-turn-server 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 resiprocate-turn-server using aptitude by running the following command:

sudo aptitude -y install resiprocate-turn-server

How To Uninstall resiprocate-turn-server on Debian 9

To uninstall only the resiprocate-turn-server package we can use the following command:

sudo apt-get remove resiprocate-turn-server

Uninstall resiprocate-turn-server And Its Dependencies

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

sudo apt-get -y autoremove resiprocate-turn-server

Remove resiprocate-turn-server Configurations and Data

To remove resiprocate-turn-server configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge resiprocate-turn-server

Remove resiprocate-turn-server configuration, data, and all of its dependencies

We can use the following command to remove resiprocate-turn-server configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge resiprocate-turn-server

Dependencies

resiprocate-turn-server have the following dependencies:

References

Summary

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