How To Install libjettison-java on Kali Linux
Introduction
In this tutorial we learn how to install libjettison-java
on Kali Linux.
What is libjettison-java
libjettison-java is:
Jettison is a collection of StAX parsers (streaming API for XML) and writers which read and write JSON (JavaScript Object Notation). This allows nearly transparent enablement of JSON based web services in services frameworks like Apache CXF.
There are currently two included conventions for mapping JSON to XML. The first is BadgerFish which implements the full XML infoset in JSON using various techniques. The second is called the “mapped” convention. It allows you to manually map XML namespaces to JSON element prefixes.
There are three methods to install libjettison-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 libjettison-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 libjettison-java
using apt-get
by running the following command:
sudo apt-get -y install libjettison-java
Install libjettison-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libjettison-java
using apt
by running the following command:
sudo apt -y install libjettison-java
Install libjettison-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 libjettison-java
using aptitude
by running the following command:
sudo aptitude -y install libjettison-java
How To Uninstall libjettison-java on Kali Linux
To uninstall only the libjettison-java
package we can use the following command:
sudo apt-get remove libjettison-java
Uninstall libjettison-java And Its Dependencies
To uninstall libjettison-java
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libjettison-java
Remove libjettison-java Configurations and Data
To remove libjettison-java
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libjettison-java
Remove libjettison-java configuration, data, and all of its dependencies
We can use the following command to remove libjettison-java
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libjettison-java
Dependencies
libjettison-java have the following dependencies:
References
Summary
In this tutorial we learn how to install libjettison-java
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.