How To Install libdanga-socket-perl on Debian 9
Introduction
In this tutorial we learn how to install libdanga-socket-perl
on Debian 9.
What is libdanga-socket-perl
libdanga-socket-perl is:
Danga::Socket is an abstract base class for objects backed by a socket which provides the basic framework for event-driven asynchronous IO, designed to be fast. Danga::Socket is both a base class for objects, and an event loop.
Callers subclass Danga::Socket. Danga::Socket’s constructor registers itself with the Danga::Socket event loop, and invokes callbacks on the object for readability, writability, errors, and other conditions.
Because Danga::Socket uses the “fields” module, your subclasses must too.
There are three methods to install libdanga-socket-perl
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libdanga-socket-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 libdanga-socket-perl
using apt-get
by running the following command:
sudo apt-get -y install libdanga-socket-perl
Install libdanga-socket-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdanga-socket-perl
using apt
by running the following command:
sudo apt -y install libdanga-socket-perl
Install libdanga-socket-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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libdanga-socket-perl
using aptitude
by running the following command:
sudo aptitude -y install libdanga-socket-perl
How To Uninstall libdanga-socket-perl on Debian 9
To uninstall only the libdanga-socket-perl
package we can use the following command:
sudo apt-get remove libdanga-socket-perl
Uninstall libdanga-socket-perl And Its Dependencies
To uninstall libdanga-socket-perl
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libdanga-socket-perl
Remove libdanga-socket-perl Configurations and Data
To remove libdanga-socket-perl
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libdanga-socket-perl
Remove libdanga-socket-perl configuration, data, and all of its dependencies
We can use the following command to remove libdanga-socket-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdanga-socket-perl
Dependencies
libdanga-socket-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libdanga-socket-perl
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.