How To Install glassfish-jsp.noarch on Amazon Linux 2

In this tutorial we learn how to install glassfish-jsp.noarch in Amazon Linux 2. glassfish-jsp.noarch is Glassfish J2EE JSP API implementation

Introduction

In this tutorial we learn how to install glassfish-jsp.noarch on Amazon Linux 2.

What is glassfish-jsp.noarch

This project provides a container independent implementation of JSP 2.2. The main goals are * Improves current implementation improvements * Provides API for use by other tools, such as Netbeans * Provides a sandbox for new JSP features; provides a reference implementation of next JSP spec.

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

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

sudo yum -y install glassfish-jsp.noarch

How To Uninstall glassfish-jsp.noarch on Amazon Linux 2

To uninstall only the glassfish-jsp.noarch package we can use the following command:

sudo yum remove glassfish-jsp.noarch

glassfish-jsp.noarch Package Contents on Amazon Linux 2

/usr/share/doc/glassfish-jsp-2.2.6
/usr/share/doc/glassfish-jsp-2.2.6/LICENSE
/usr/share/doc/glassfish-jsp-2.2.6/cddllicense.txt
/usr/share/java/glassfish-jsp
/usr/share/java/glassfish-jsp.jar
/usr/share/java/glassfish-jsp/javax.servlet.jsp.jar
/usr/share/maven-effective-poms/JPP-glassfish-jsp.pom
/usr/share/maven-effective-poms/JPP.glassfish-jsp-javax.servlet.jsp.pom
/usr/share/maven-fragments/glassfish-jsp.xml
/usr/share/maven-poms/JPP-glassfish-jsp.pom
/usr/share/maven-poms/JPP.glassfish-jsp-javax.servlet.jsp.pom

References

Summary

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