How To Install jline-demo.noarch on Amazon Linux 2

In this tutorial we learn how to install jline-demo.noarch in Amazon Linux 2. jline-demo.noarch is Demos for jline

Introduction

In this tutorial we learn how to install jline-demo.noarch on Amazon Linux 2.

What is jline-demo.noarch

Demonstrations and samples for jline.

We can use yum to install jline-demo.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install jline-demo.noarch.

Install jline-demo.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-demo.noarch using yum by running the following command:

sudo yum -y install jline-demo.noarch

How To Uninstall jline-demo.noarch on Amazon Linux 2

To uninstall only the jline-demo.noarch package we can use the following command:

sudo yum remove jline-demo.noarch

jline-demo.noarch Package Contents on Amazon Linux 2

/usr/share/jline
/usr/share/jline/examples
/usr/share/jline/examples/jline
/usr/share/jline/examples/jline/example
/usr/share/jline/examples/jline/example/Example.java
/usr/share/jline/examples/jline/example/PasswordReader.java
/usr/share/jline/examples/jline/example/english.gz

References

Summary

In this tutorial we learn how to install jline-demo.noarch on Amazon Linux 2 using yum.