How To Install gnokii-smsd-mysql on Ubuntu 18.04

In this tutorial we learn how to install gnokii-smsd-mysql on Ubuntu 18.04. gnokii-smsd-mysql is SMSD plugin for MySQL storage backend

Introduction

In this tutorial we learn how to install gnokii-smsd-mysql on Ubuntu 18.04.

What is gnokii-smsd-mysql

gnokii-smsd-mysql 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 MySQL storage backend.

There are three methods to install gnokii-smsd-mysql 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 gnokii-smsd-mysql 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-mysql using apt-get by running the following command:

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

Install gnokii-smsd-mysql Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gnokii-smsd-mysql

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

sudo aptitude -y install gnokii-smsd-mysql

How To Uninstall gnokii-smsd-mysql on Ubuntu 18.04

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

sudo apt-get remove gnokii-smsd-mysql

Uninstall gnokii-smsd-mysql And Its Dependencies

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

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

Remove gnokii-smsd-mysql Configurations and Data

To remove gnokii-smsd-mysql configuration and data from Ubuntu 18.04 we can use the following command:

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

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

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

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

References

Summary

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