How To Install siproxd on Ubuntu 18.04

In this tutorial we learn how to install siproxd on Ubuntu 18.04. siproxd is SIP proxy/redirect/registrar

Introduction

In this tutorial we learn how to install siproxd on Ubuntu 18.04.

What is siproxd

siproxd is:

Siproxd is a proxy/masquerading daemon for the SIP (Session Initiation Protocol) which is used in IP telephony. It handles registrations of SIP clients on a private IP network and performs rewriting of the SIP message bodies to make SIP connections possible via a masquerading firewall. It allows SIP clients (like kphone, linphone) to work behind an IP masquerading firewall or router.

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

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

sudo apt-get update

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

sudo apt-get -y install siproxd

Install siproxd Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install siproxd

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

sudo aptitude -y install siproxd

How To Uninstall siproxd on Ubuntu 18.04

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

sudo apt-get remove siproxd

Uninstall siproxd And Its Dependencies

To uninstall siproxd and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove siproxd

Remove siproxd Configurations and Data

To remove siproxd configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge siproxd

Remove siproxd configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge siproxd

References

Summary

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