How To Install java_cup.noarch on Amazon Linux 2

In this tutorial we learn how to install java_cup.noarch in Amazon Linux 2. java_cup.noarch is Java source interpreter

Introduction

In this tutorial we learn how to install java_cup.noarch on Amazon Linux 2.

What is java_cup.noarch

java_cup is a LALR Parser Generator for Java

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

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

sudo yum -y install java_cup.noarch

How To Uninstall java_cup.noarch on Amazon Linux 2

To uninstall only the java_cup.noarch package we can use the following command:

sudo yum remove java_cup.noarch

java_cup.noarch Package Contents on Amazon Linux 2

/usr/share/doc/java_cup-0.11a
/usr/share/doc/java_cup-0.11a/LICENSE.txt
/usr/share/doc/java_cup-0.11a/changelog.txt
/usr/share/java/java_cup-runtime.jar
/usr/share/java/java_cup.jar
/usr/share/maven-fragments/java_cup
/usr/share/maven-poms/JPP-java_cup.pom

References

Summary

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