How To Install libnetsds-kannel-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libnetsds-kannel-perl
on Ubuntu 20.04.
What is libnetsds-kannel-perl
libnetsds-kannel-perl is:
NetSDS::Kannel module provides API to Kannel SMS gateway.
To decrease innecessary problems we use a lot of predefined parameters while sending and receiving messages via Kannel HTTP API. It’s not so flexible as direct HTTP processing but less expensive in development time ;-)
This modules uses LWP to send messages and CGI.pm to process messages from Kannel.
There are three methods to install libnetsds-kannel-perl
on Ubuntu 20.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 libnetsds-kannel-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 libnetsds-kannel-perl
using apt-get
by running the following command:
sudo apt-get -y install libnetsds-kannel-perl
Install libnetsds-kannel-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libnetsds-kannel-perl
using apt
by running the following command:
sudo apt -y install libnetsds-kannel-perl
Install libnetsds-kannel-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 libnetsds-kannel-perl
using aptitude
by running the following command:
sudo aptitude -y install libnetsds-kannel-perl
How To Uninstall libnetsds-kannel-perl on Ubuntu 20.04
To uninstall only the libnetsds-kannel-perl
package we can use the following command:
sudo apt-get remove libnetsds-kannel-perl
Uninstall libnetsds-kannel-perl And Its Dependencies
To uninstall libnetsds-kannel-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libnetsds-kannel-perl
Remove libnetsds-kannel-perl Configurations and Data
To remove libnetsds-kannel-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libnetsds-kannel-perl
Remove libnetsds-kannel-perl configuration, data, and all of its dependencies
We can use the following command to remove libnetsds-kannel-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libnetsds-kannel-perl
References
Summary
In this tutorial we learn how to install libnetsds-kannel-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.