How To Install libsms-aql-perl on Ubuntu 18.04

In this tutorial we learn how to install libsms-aql-perl on Ubuntu 18.04. libsms-aql-perl is Perl extension to send SMS text messages via AQLs SMS service

Introduction

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

What is libsms-aql-perl

libsms-aql-perl is:

SMS::AQL provides an object-oriented interface to send SMS text messages using the HTTP gateway provided by AQ Ltd (www.aql.com) in the UK.

It supports concatenated text messages (over the 160-character limit of normal text messages, achieved by sending multiple messages with a header to indicate that they are part of one message (this is handset-dependent, but supported by all reasonably new mobiles).

There are three methods to install libsms-aql-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-aql-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-aql-perl using apt-get by running the following command:

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

Install libsms-aql-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsms-aql-perl

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

sudo aptitude -y install libsms-aql-perl

How To Uninstall libsms-aql-perl on Ubuntu 18.04

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

sudo apt-get remove libsms-aql-perl

Uninstall libsms-aql-perl And Its Dependencies

To uninstall libsms-aql-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-aql-perl

Remove libsms-aql-perl Configurations and Data

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

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

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

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

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

References

Summary

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