How To Install libjson-xs-perl on Kali Linux
Introduction
In this tutorial we learn how to install libjson-xs-perl on Kali Linux.
What is libjson-xs-perl
libjson-xs-perl is:
JSON::XS is a module for manipulating data stored in the JavaScript Object Notation (JSON) serialization format (defined in RFC 4627), which serves as an alternative to XML.
This C/XS-accelerated JSON implementation confers significant performance gains if available. After installing this package, any code using the JSON module (see libjson-perl) will automagically benefit from this.
There are three methods to install libjson-xs-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-xs-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libjson-xs-perl using apt-get by running the following command:
sudo apt-get -y install libjson-xs-perlInstall libjson-xs-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libjson-xs-perl using apt by running the following command:
sudo apt -y install libjson-xs-perlInstall libjson-xs-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 updateAfter updating apt database, We can install libjson-xs-perl using aptitude by running the following command:
sudo aptitude -y install libjson-xs-perlHow To Uninstall libjson-xs-perl on Kali Linux
To uninstall only the libjson-xs-perl package we can use the following command:
sudo apt-get remove libjson-xs-perlUninstall libjson-xs-perl And Its Dependencies
To uninstall libjson-xs-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libjson-xs-perlRemove libjson-xs-perl Configurations and Data
To remove libjson-xs-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libjson-xs-perlRemove libjson-xs-perl configuration, data, and all of its dependencies
We can use the following command to remove libjson-xs-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libjson-xs-perlDependencies
libjson-xs-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libjson-xs-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.