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

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

Introduction

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

What is glassfish-jsp-api.noarch

This project provides a container independent specification of JSP 2.2. Note that this package doesn’t contain implementation of this specification. See glassfish-jsp for one of implementations

We can use yum to install glassfish-jsp-api.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-api.noarch.

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

sudo yum -y install glassfish-jsp-api.noarch

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

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

sudo yum remove glassfish-jsp-api.noarch

glassfish-jsp-api.noarch Package Contents on Amazon Linux 2

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

References

Summary

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