How To Install libjson-webtoken-perl on Kali Linux
Introduction
In this tutorial we learn how to install libjson-webtoken-perl
on Kali Linux.
What is libjson-webtoken-perl
libjson-webtoken-perl is:
JSON::WebToken is an implementation of JSON Web Token (JWT) for Perl.
JSON Web Token is a JSON-based open standard for passing claims between parties in web application environment. The tokens are designed to be compact, URL-safe and usable especially in web browser single sign-on context. JWT claims can be typically used to pass identity of authenticated users between an identity provider and a service provider, or any other type of claims as required by business processes. The tokens can also be authenticated and encrypted.
There are three methods to install libjson-webtoken-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 libjson-webtoken-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 libjson-webtoken-perl
using apt-get
by running the following command:
sudo apt-get -y install libjson-webtoken-perl
Install libjson-webtoken-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libjson-webtoken-perl
using apt
by running the following command:
sudo apt -y install libjson-webtoken-perl
Install libjson-webtoken-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 libjson-webtoken-perl
using aptitude
by running the following command:
sudo aptitude -y install libjson-webtoken-perl
How To Uninstall libjson-webtoken-perl on Kali Linux
To uninstall only the libjson-webtoken-perl
package we can use the following command:
sudo apt-get remove libjson-webtoken-perl
Uninstall libjson-webtoken-perl And Its Dependencies
To uninstall libjson-webtoken-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libjson-webtoken-perl
Remove libjson-webtoken-perl Configurations and Data
To remove libjson-webtoken-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libjson-webtoken-perl
Remove libjson-webtoken-perl configuration, data, and all of its dependencies
We can use the following command to remove libjson-webtoken-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libjson-webtoken-perl
Dependencies
libjson-webtoken-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libjson-webtoken-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.