How To Install gnokii-smsd-pgsql on Kali Linux

In this tutorial we learn how to install gnokii-smsd-pgsql on Kali Linux. gnokii-smsd-pgsql is SMSD plugin for PostgreSQL storage backend

Introduction

In this tutorial we learn how to install gnokii-smsd-pgsql on Kali Linux.

What is gnokii-smsd-pgsql

gnokii-smsd-pgsql is:

Gnokii is a suite of programs that allows communication with mobile phones. It currently supports many Nokia mobile phones, all AT capable ones as well as many Symbian based. For a list of compatible phones, please visit: http://wiki.gnokii.org

The SMSD (SMS daemon) handles automated sending and receiving of short messages using a storage backend. It is designed to use modules (plugins) to work with different backends, and shares Gnokii’s runtime configuration and libraries.

This package provides support for the PostgreSQL storage backend.

There are three methods to install gnokii-smsd-pgsql on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install gnokii-smsd-pgsql Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gnokii-smsd-pgsql

Install gnokii-smsd-pgsql Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gnokii-smsd-pgsql using apt by running the following command:

sudo apt -y install gnokii-smsd-pgsql

Install gnokii-smsd-pgsql Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install gnokii-smsd-pgsql using aptitude by running the following command:

sudo aptitude -y install gnokii-smsd-pgsql

How To Uninstall gnokii-smsd-pgsql on Kali Linux

To uninstall only the gnokii-smsd-pgsql package we can use the following command:

sudo apt-get remove gnokii-smsd-pgsql

Uninstall gnokii-smsd-pgsql And Its Dependencies

To uninstall gnokii-smsd-pgsql and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove gnokii-smsd-pgsql

Remove gnokii-smsd-pgsql Configurations and Data

To remove gnokii-smsd-pgsql configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge gnokii-smsd-pgsql

Remove gnokii-smsd-pgsql configuration, data, and all of its dependencies

We can use the following command to remove gnokii-smsd-pgsql configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gnokii-smsd-pgsql

Dependencies

gnokii-smsd-pgsql have the following dependencies:

References

Summary

In this tutorial we learn how to install gnokii-smsd-pgsql package on Kali Linux using different package management tools: apt, apt-get and aptitude.