How To Install libjengelman-shadow-java on Kali Linux
Introduction
In this tutorial we learn how to install libjengelman-shadow-java on Kali Linux.
What is libjengelman-shadow-java
libjengelman-shadow-java is:
Shadow is an extension of the Gradle Jar task that optimizes FatJar/UberJar creation by using JarInputStream and JarOutputStream to copy file contents. This avoids the unnecessary I/O overhead of expanding jar files to disk before recombining them. Shadow provides the similar filtering, relocation, and transformation capabilities as the Maven Shade plugin. The gradle-shadow-plugin makes it possible to integrate JFlex into the Gradle
- build system.
There are three methods to install libjengelman-shadow-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 libjengelman-shadow-java Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libjengelman-shadow-java using apt-get by running the following command:
sudo apt-get -y install libjengelman-shadow-javaInstall libjengelman-shadow-java Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libjengelman-shadow-java using apt by running the following command:
sudo apt -y install libjengelman-shadow-javaInstall libjengelman-shadow-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 updateAfter updating apt database, We can install libjengelman-shadow-java using aptitude by running the following command:
sudo aptitude -y install libjengelman-shadow-javaHow To Uninstall libjengelman-shadow-java on Kali Linux
To uninstall only the libjengelman-shadow-java package we can use the following command:
sudo apt-get remove libjengelman-shadow-javaUninstall libjengelman-shadow-java And Its Dependencies
To uninstall libjengelman-shadow-java and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libjengelman-shadow-javaRemove libjengelman-shadow-java Configurations and Data
To remove libjengelman-shadow-java configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libjengelman-shadow-javaRemove libjengelman-shadow-java configuration, data, and all of its dependencies
We can use the following command to remove libjengelman-shadow-java configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libjengelman-shadow-javaDependencies
libjengelman-shadow-java have the following dependencies:
- ant
- libcommons-io-java
- libjdependency-java
- libjdom2-java
- liblog4j2-java
- libplexus-utils2-java
- maven-repo-helper
References
Summary
In this tutorial we learn how to install libjengelman-shadow-java package on Kali Linux using different package management tools: apt, apt-get and aptitude.