How To Install libjengelman-shadow-java on Debian 11
Introduction
In this tutorial we learn how to install libjengelman-shadow-java
on Debian 11.
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 Debian 11. 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 first since aptitude is usually not installed by default on Debian. 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 Debian 11
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 Debian 11, 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 Debian 11 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:
- 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 Debian 11 using different package management tools: apt
, apt-get
and aptitude
.