How To Install resiprocate-turn-server-psql on Ubuntu 18.04

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

Introduction

In this tutorial we learn how to install resiprocate-turn-server-psql on Ubuntu 18.04.

What is resiprocate-turn-server-psql

resiprocate-turn-server-psql 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.

This package provides a Python script to synchronize the reTurn users.txt file from a PostgreSQL table.

There are three methods to install resiprocate-turn-server-psql on Ubuntu 18.04. 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-psql 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-psql using apt-get by running the following command:

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

Install resiprocate-turn-server-psql Using apt

Update apt database with apt using the following command.

sudo apt update

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

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

Install resiprocate-turn-server-psql 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install resiprocate-turn-server-psql

How To Uninstall resiprocate-turn-server-psql on Ubuntu 18.04

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

sudo apt-get remove resiprocate-turn-server-psql

Uninstall resiprocate-turn-server-psql And Its Dependencies

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

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

Remove resiprocate-turn-server-psql Configurations and Data

To remove resiprocate-turn-server-psql configuration and data from Ubuntu 18.04 we can use the following command:

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

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

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

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

References

Summary

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