How To Install beust-jcommander.noarch on Amazon Linux 2

In this tutorial we learn how to install beust-jcommander.noarch in Amazon Linux 2. beust-jcommander.noarch is Java framework for parsing command line parameters

Introduction

In this tutorial we learn how to install beust-jcommander.noarch on Amazon Linux 2.

What is beust-jcommander.noarch

JCommander is a very small Java framework that makes it trivial to parse command line parameters (with annotations).

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

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

sudo yum -y install beust-jcommander.noarch

How To Uninstall beust-jcommander.noarch on Amazon Linux 2

To uninstall only the beust-jcommander.noarch package we can use the following command:

sudo yum remove beust-jcommander.noarch

beust-jcommander.noarch Package Contents on Amazon Linux 2

/usr/share/doc/beust-jcommander-1.30
/usr/share/doc/beust-jcommander-1.30/README.markdown
/usr/share/doc/beust-jcommander-1.30/license.txt
/usr/share/doc/beust-jcommander-1.30/notice.md
/usr/share/java/beust-jcommander.jar
/usr/share/maven-effective-poms/JPP-beust-jcommander.pom
/usr/share/maven-fragments/beust-jcommander.xml
/usr/share/maven-poms/JPP-beust-jcommander.pom

References

Summary

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