How to Install and Uninstall libjline2-java Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: November 26,2024

1. Install "libjline2-java" package

Learn how to install libjline2-java on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install libjline2-java

2. Uninstall "libjline2-java" package

This guide let you learn how to uninstall libjline2-java on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove libjline2-java $ sudo apt autoclean && sudo apt autoremove

3. Information about the libjline2-java package on Ubuntu 21.04 (Hirsute Hippo)

Package: libjline2-java
Architecture: all
Version: 2.14.6-4
Priority: optional
Section: universe/java
Source: jline2
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 177
Depends: libjansi-java (>= 1.18)
Filename: pool/universe/j/jline2/libjline2-java_2.14.6-4_all.deb
Size: 150324
MD5sum: 26c5c666145eaa222a2d4e937e692a72
SHA1: 2a12d0d56d41149a0cd418a9a99cffda76e9f662
SHA256: 74bff47df25ec7254f45bfdeced4ed89080491a0945422bd5bc2e97dfffb1bb9
SHA512: 3e041cf222591d8ac5ebec8c1cba1f7cab5935475d1843aa300107d42c4f4c7b30e6066dfb148a2eb3f65c14905f9cc8fa9595354c7970a5d042371dbbd432d2
Homepage: https://github.com/jline/jline2
Description-en: console input handling in Java
JLine is a Java library for handling console input. It is similar in
functionality to BSD editline and GNU readline. People familiar with the
readline/editline capabilities for modern shells (such as bash and tcsh) will
find most of the command editing features of JLine to be familiar.
.
Jline2 suppors the current features:
.
* Command history - Lines that have been previously entered may be recalled
and edited and can be persisted so that they are available across sessions
of your program.
* Line editing - JLine allows full editing of the current command line and
attempts to mimic as much of the behavior of GNU Readline as possible,
including support for both emacs and vi key mappings.
* Completion - JLine provides a pluggable mechanism for implementing
command line tab completion (of course completion can be bound to any key
you wish).
* Custom Key bindings - Keys may be arbitrarily remapped to perform a
specific action, and JLine attempts to honor any mapping that is set in
your existing readline .inputrc file.
* Character Masking - Input may be gathered from the user without any
visual feedback. This is useful for prompting for passwords.
* 99.99% Java - The vast portion of JLine is all Java, using only some
small bit of native code, provided by the Jansi project, to support
Windows.
Description-md5: f6e337880b76593f58f7207f422ec16e