How To Install sipwitch-cgi on Ubuntu 18.04
Introduction
In this tutorial we learn how to install sipwitch-cgi
on Ubuntu 18.04.
What is sipwitch-cgi
sipwitch-cgi 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 CGI-based XML-RPC interface for managing a locally resident sipw daemon, including the ability to collect statistics and call information, and to perform control operations. This is meant to support creation of remote management applications for sipwitch, especially when sipw might be executed on a dedicated router.
There are three methods to install sipwitch-cgi
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 sipwitch-cgi 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-cgi
using apt-get
by running the following command:
sudo apt-get -y install sipwitch-cgi
Install sipwitch-cgi Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install sipwitch-cgi
using apt
by running the following command:
sudo apt -y install sipwitch-cgi
Install sipwitch-cgi 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 sipwitch-cgi
using aptitude
by running the following command:
sudo aptitude -y install sipwitch-cgi
How To Uninstall sipwitch-cgi on Ubuntu 18.04
To uninstall only the sipwitch-cgi
package we can use the following command:
sudo apt-get remove sipwitch-cgi
Uninstall sipwitch-cgi And Its Dependencies
To uninstall sipwitch-cgi
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove sipwitch-cgi
Remove sipwitch-cgi Configurations and Data
To remove sipwitch-cgi
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge sipwitch-cgi
Remove sipwitch-cgi configuration, data, and all of its dependencies
We can use the following command to remove sipwitch-cgi
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge sipwitch-cgi
References
Summary
In this tutorial we learn how to install sipwitch-cgi
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.