How To Install libpoe-component-server-jsonrpc-perl on Kali Linux

In this tutorial we learn how to install libpoe-component-server-jsonrpc-perl on Kali Linux. libpoe-component-server-jsonrpc-perl is POE tcp and http based JSON-RPC 1.0 server

Introduction

In this tutorial we learn how to install libpoe-component-server-jsonrpc-perl on Kali Linux.

What is libpoe-component-server-jsonrpc-perl

libpoe-component-server-jsonrpc-perl is:

This Perl module is a POE component that allows you to easily create an HTTP or TCP JSON RPC server inside POE.

The specification is defined on http://json-rpc.org/ and this module uses the JSON-RPC specification version 1.0 (version 1.1 does not cover TCP streams).

This package provides Poe::Component::Server::Jsonrpc.

There are three methods to install libpoe-component-server-jsonrpc-perl on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libpoe-component-server-jsonrpc-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 libpoe-component-server-jsonrpc-perl using apt-get by running the following command:

sudo apt-get -y install libpoe-component-server-jsonrpc-perl

Install libpoe-component-server-jsonrpc-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libpoe-component-server-jsonrpc-perl using apt by running the following command:

sudo apt -y install libpoe-component-server-jsonrpc-perl

Install libpoe-component-server-jsonrpc-perl Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libpoe-component-server-jsonrpc-perl using aptitude by running the following command:

sudo aptitude -y install libpoe-component-server-jsonrpc-perl

How To Uninstall libpoe-component-server-jsonrpc-perl on Kali Linux

To uninstall only the libpoe-component-server-jsonrpc-perl package we can use the following command:

sudo apt-get remove libpoe-component-server-jsonrpc-perl

Uninstall libpoe-component-server-jsonrpc-perl And Its Dependencies

To uninstall libpoe-component-server-jsonrpc-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libpoe-component-server-jsonrpc-perl

Remove libpoe-component-server-jsonrpc-perl Configurations and Data

To remove libpoe-component-server-jsonrpc-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libpoe-component-server-jsonrpc-perl

Remove libpoe-component-server-jsonrpc-perl configuration, data, and all of its dependencies

We can use the following command to remove libpoe-component-server-jsonrpc-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libpoe-component-server-jsonrpc-perl

Dependencies

libpoe-component-server-jsonrpc-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libpoe-component-server-jsonrpc-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.