How to Install and Uninstall libjline2-java Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 18,2024

1. Install "libjline2-java" package

In this section, we are going to explain the necessary steps to install libjline2-java on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install libjline2-java

2. Uninstall "libjline2-java" package

Here is a brief guide to show you how to uninstall libjline2-java on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the libjline2-java package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: libjline2-java
Priority: optional
Section: universe/java
Installed-Size: 134
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Java Maintainers
Architecture: all
Source: jline2
Version: 2.11-4
Depends: libjansi-java
Filename: pool/universe/j/jline2/libjline2-java_2.11-4_all.deb
Size: 106558
MD5sum: 7e2af8b0a243d8ddddeaa140d69f79f8
SHA1: 9a7d0520317022c93be785ee88ff5496df7a3ab9
SHA256: c1e81c887f72d6d6a9947d2220a0fc86b69b73a571fb59a8ee3d7a3ad69f1d92
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
Homepage: http://jline.github.io/jline2/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu