How To Install libjengelman-shadow-java on Kali Linux

In this tutorial we learn how to install libjengelman-shadow-java on Kali Linux. libjengelman-shadow-java is Gradle plugin for creating fat/uber JARs with support for package relocation.

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 update

After updating apt database, We can install libjengelman-shadow-java using apt-get by running the following command:

sudo apt-get -y install libjengelman-shadow-java

Install libjengelman-shadow-java Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libjengelman-shadow-java using apt by running the following command:

sudo apt -y install libjengelman-shadow-java

Install 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 update

After updating apt database, We can install libjengelman-shadow-java using aptitude by running the following command:

sudo aptitude -y install libjengelman-shadow-java

How 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-java

Uninstall 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-java

Remove 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-java

Remove 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-java

Dependencies

libjengelman-shadow-java have the following dependencies:

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.