How To Install jline.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install jline.noarch
on Amazon Linux 2.
What is jline.noarch
JLine is a java library for reading and editing user input in console applications. It features tab-completion, command history, password masking, configurable key-bindings, and pass-through handlers to use to chain to other console applications.
We can use yum
to install jline.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install jline.noarch.
Install jline.noarch on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install jline.noarch
using yum
by running the following command:
sudo yum -y install jline.noarch
How To Uninstall jline.noarch on Amazon Linux 2
To uninstall only the jline.noarch
package we can use the following command:
sudo yum remove jline.noarch
jline.noarch Package Contents on Amazon Linux 2
/usr/share/doc/jline-1.0
/usr/share/doc/jline-1.0/LICENSE.txt
/usr/share/doc/jline-1.0/keybindings.properties
/usr/share/java/jline.jar
/usr/share/maven-effective-poms/JPP-jline.pom
/usr/share/maven-fragments/jline.xml
/usr/share/maven-poms/JPP-jline.pom
References
Summary
In this tutorial we learn how to install jline.noarch
on Amazon Linux 2 using yum.