How To Install turnserver on Debian 9
Introduction
In this tutorial we learn how to install turnserver
on Debian 9.
What is turnserver
turnserver is:
TURN server developed by the team behind Jitsi. 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.
The TurnServer project aims to be compliant with the TURN and STUN Request For Comments (respectively RFC 5766 and RFC 5389). It also support RFC 6156 namely TURN-IPV6 (relay between IPv4-IPv6, IPv6-IPv4 and IPv6-IPv6 addresses) and RFC 6062 namely TURN-TCP (relay data with TCP).
There are three methods to install turnserver
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 turnserver Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install turnserver
using apt-get
by running the following command:
sudo apt-get -y install turnserver
Install turnserver Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install turnserver
using apt
by running the following command:
sudo apt -y install turnserver
Install turnserver 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 turnserver
using aptitude
by running the following command:
sudo aptitude -y install turnserver
How To Uninstall turnserver on Debian 9
To uninstall only the turnserver
package we can use the following command:
sudo apt-get remove turnserver
Uninstall turnserver And Its Dependencies
To uninstall turnserver
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove turnserver
Remove turnserver Configurations and Data
To remove turnserver
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge turnserver
Remove turnserver configuration, data, and all of its dependencies
We can use the following command to remove turnserver
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge turnserver
Dependencies
turnserver have the following dependencies:
References
Summary
In this tutorial we learn how to install turnserver
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.