How To Install libopenjson-java on Kali Linux
Introduction
In this tutorial we learn how to install libopenjson-java
on Kali Linux.
What is libopenjson-java
libopenjson-java is:
json.org is a popular java library to parse and create json string from the author of the json standard Douglas Crockford. His implementation however is not free software[1].
The Android team did a cleanroom reimplementation of a json library and this package has extended the implementation done by the Android team.
[1] http://wiki.debian.org/qa.debian.org/jsonevil
There are three methods to install libopenjson-java
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 libopenjson-java Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libopenjson-java
using apt-get
by running the following command:
sudo apt-get -y install libopenjson-java
Install libopenjson-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libopenjson-java
using apt
by running the following command:
sudo apt -y install libopenjson-java
Install libopenjson-java 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 libopenjson-java
using aptitude
by running the following command:
sudo aptitude -y install libopenjson-java
How To Uninstall libopenjson-java on Kali Linux
To uninstall only the libopenjson-java
package we can use the following command:
sudo apt-get remove libopenjson-java
Uninstall libopenjson-java And Its Dependencies
To uninstall libopenjson-java
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libopenjson-java
Remove libopenjson-java Configurations and Data
To remove libopenjson-java
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libopenjson-java
Remove libopenjson-java configuration, data, and all of its dependencies
We can use the following command to remove libopenjson-java
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libopenjson-java
Dependencies
libopenjson-java have the following dependencies:
References
Summary
In this tutorial we learn how to install libopenjson-java
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.