How To Install libevent-rpc-perl on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libevent-rpc-perl
on Ubuntu 20.04.
What is libevent-rpc-perl
libevent-rpc-perl is:
Event::RPC supports you in developing Event based networking client/server applications with transparent object/method access from the client to the server. Network communication is optionally encrypted using IO::Socket::SSL. Several event loop managers are supported due to an extensible API. Currently Event, Glib and AnyEvent are implemented.
Event::RPC consists of a server and a client library. The server exports a list of classes and methods, which are allowed to be called over the network. More specific it acts as a proxy for objects created on the server side (on demand of the connected clients) which handles client side methods calls with transport of method arguments and return values.
There are three methods to install libevent-rpc-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 libevent-rpc-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 libevent-rpc-perl
using apt-get
by running the following command:
sudo apt-get -y install libevent-rpc-perl
Install libevent-rpc-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libevent-rpc-perl
using apt
by running the following command:
sudo apt -y install libevent-rpc-perl
Install libevent-rpc-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 libevent-rpc-perl
using aptitude
by running the following command:
sudo aptitude -y install libevent-rpc-perl
How To Uninstall libevent-rpc-perl on Ubuntu 20.04
To uninstall only the libevent-rpc-perl
package we can use the following command:
sudo apt-get remove libevent-rpc-perl
Uninstall libevent-rpc-perl And Its Dependencies
To uninstall libevent-rpc-perl
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libevent-rpc-perl
Remove libevent-rpc-perl Configurations and Data
To remove libevent-rpc-perl
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libevent-rpc-perl
Remove libevent-rpc-perl configuration, data, and all of its dependencies
We can use the following command to remove libevent-rpc-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libevent-rpc-perl
References
Summary
In this tutorial we learn how to install libevent-rpc-perl
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.