How to Install and Uninstall libcommons-exec-java Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 25,2024

1. Install "libcommons-exec-java" package

In this section, we are going to explain the necessary steps to install libcommons-exec-java on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libcommons-exec-java

2. Uninstall "libcommons-exec-java" package

Here is a brief guide to show you how to uninstall libcommons-exec-java on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libcommons-exec-java $ sudo apt autoclean && sudo apt autoremove

3. Information about the libcommons-exec-java package on Ubuntu 21.10 (Impish Indri)

Package: libcommons-exec-java
Architecture: all
Version: 1.3-2
Priority: optional
Section: universe/java
Source: commons-exec
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 75
Filename: pool/universe/c/commons-exec/libcommons-exec-java_1.3-2_all.deb
Size: 48112
MD5sum: 18e2d332f0d38388e636c6dd0b43ea7d
SHA1: b5d455aaed14b668651d4ac77110a9477cb58fb2
SHA256: 93592d2b02e107e70973752692c52cd9d701b867345d9c19a452e4181de39eac
SHA512: f50eb17ea70a8289927f4ad8a9ca3476c990cf8916d4a56a5baecb24566c4c0966064cabf73ac495ccc8ab478b7e5a0118e2f12e2bd0cdaeab8bb54664dee350
Homepage: https://commons.apache.org/exec/
Description-en: Java library to reliably execute external processes from within the JVM
Executing external processes from Java is a well-known problem
area. It is inherently platform dependent and requires the developer
to know and test for platform specific behaviors, for example
using cmd.exe on Windows or limited buffer sizes causing deadlocks.
The JRE support for this is very limited, albeit better with the
new Java SE 1.5 ProcessBuilder class.
.
Reliably executing external processes can also require knowledge of
the environment variables before or after the command is executed. In
J2SE 1.1-1.4 there is no support for this, since the method,
System.getenv(), for retrieving environment variables is deprecated.
.
There are currently several different libraries that for their own
purposes have implemented frameworks around Runtime.exec() to handle
the various issues outlined above. The commons-exec package aims
at coordinating and learning from these initiatives to create and
maintain a simple, reusable and well-tested package.
Description-md5: 6266048c286f13128004a19abae85f72