How To Install sipwitch on Debian 9

In this tutorial we learn how to install sipwitch on Debian 9. sipwitch is secure peer-to-peer VoIP server for the SIP protocol

Introduction

In this tutorial we learn how to install sipwitch on Debian 9.

What is sipwitch

sipwitch is:

GNU SIP Witch is a secure peer-to-peer VoIP server. Calls can be made even behind NAT firewalls, and without needing a service provider. SIP Witch can be used on the desktop to create bottom-up secure calling networks as a free software alternative to Skype. SIP Witch can also be used as a stand-alone SIP-based office telephone server, or to create secure VoIP networks for an existing IP-PBX such as Asterisk, FreeSWITCH, or Yate.

This package contains the sipwitch daemon and related utilities.

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

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

sudo apt-get update

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

sudo apt-get -y install sipwitch

Install sipwitch Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install sipwitch using apt by running the following command:

sudo apt -y install sipwitch

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

sudo aptitude -y install sipwitch

How To Uninstall sipwitch on Debian 9

To uninstall only the sipwitch package we can use the following command:

sudo apt-get remove sipwitch

Uninstall sipwitch And Its Dependencies

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

sudo apt-get -y autoremove sipwitch

Remove sipwitch Configurations and Data

To remove sipwitch configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge sipwitch

Remove sipwitch configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge sipwitch

Dependencies

sipwitch have the following dependencies:

References

Summary

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