How To Install libsms-send-perl on Ubuntu 18.04

In this tutorial we learn how to install libsms-send-perl on Ubuntu 18.04. libsms-send-perl is driver-based API for sending SMS messages

Introduction

In this tutorial we learn how to install libsms-send-perl on Ubuntu 18.04.

What is libsms-send-perl

libsms-send-perl is:

The SMS::Send perl module is intended to provide a driver-based single API for sending SMS and MMS messages. The intent is to provide a single API against which to write the code to send an SMS message.

At the same time, the intent is to remove the limits of some of the previous attempts at this sort of API, like “must be free internet-based SMS services”.

SMS::Send drivers are installed separately, and might use the web, email or physical SMS hardware. It could be a free or paid. The details shouldn’t matter.

You should not have to care how it is actually sent, only that it has been sent (although some drivers may not be able to provide certainty).

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

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

sudo apt-get update

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

sudo apt-get -y install libsms-send-perl

Install libsms-send-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libsms-send-perl using apt by running the following command:

sudo apt -y install libsms-send-perl

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

sudo aptitude -y install libsms-send-perl

How To Uninstall libsms-send-perl on Ubuntu 18.04

To uninstall only the libsms-send-perl package we can use the following command:

sudo apt-get remove libsms-send-perl

Uninstall libsms-send-perl And Its Dependencies

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

sudo apt-get -y autoremove libsms-send-perl

Remove libsms-send-perl Configurations and Data

To remove libsms-send-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libsms-send-perl

Remove libsms-send-perl configuration, data, and all of its dependencies

We can use the following command to remove libsms-send-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libsms-send-perl

References

Summary

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