How To Install libponapi-client-perl on Kali Linux
Introduction
In this tutorial we learn how to install libponapi-client-perl
on Kali Linux.
What is libponapi-client-perl
libponapi-client-perl is:
PONAPI::Client is a JSON:API compliant client; it should be able to communicate with any API-compliant service.
The client does a handful of checks required by the spec, then uses Hijk to communicate with the service.
In most cases, all API methods return a response document:
my $response = $client->retrieve(…);
In list context however, all API methods will return the request status and the document:
my ($status, $response) = $client->retrieve(…)
There are three methods to install libponapi-client-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 libponapi-client-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 libponapi-client-perl
using apt-get
by running the following command:
sudo apt-get -y install libponapi-client-perl
Install libponapi-client-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libponapi-client-perl
using apt
by running the following command:
sudo apt -y install libponapi-client-perl
Install libponapi-client-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 libponapi-client-perl
using aptitude
by running the following command:
sudo aptitude -y install libponapi-client-perl
How To Uninstall libponapi-client-perl on Kali Linux
To uninstall only the libponapi-client-perl
package we can use the following command:
sudo apt-get remove libponapi-client-perl
Uninstall libponapi-client-perl And Its Dependencies
To uninstall libponapi-client-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libponapi-client-perl
Remove libponapi-client-perl Configurations and Data
To remove libponapi-client-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libponapi-client-perl
Remove libponapi-client-perl configuration, data, and all of its dependencies
We can use the following command to remove libponapi-client-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libponapi-client-perl
Dependencies
libponapi-client-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libponapi-client-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.