How To Install jakarta-server-pages-api on Fedora 36

In this tutorial we learn how to install jakarta-server-pages-api in Fedora 36. jakarta-server-pages-api is Jakarta Server Pages (JSP) API

Introduction

In this tutorial we learn how to install jakarta-server-pages-api on Fedora 36.

What is jakarta-server-pages-api

Jakarta Server Pages provides a container-independent implementation of the JSP API. This package contains the API only.

We can use yum or dnf to install jakarta-server-pages-api on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install jakarta-server-pages-api.

Install jakarta-server-pages-api on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install jakarta-server-pages-api using dnf by running the following command:

sudo dnf -y install jakarta-server-pages-api

Install jakarta-server-pages-api on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install jakarta-server-pages-api using yum by running the following command:

sudo yum -y install jakarta-server-pages-api

How To Uninstall jakarta-server-pages-api on Fedora 36

To uninstall only the jakarta-server-pages-api package we can use the following command:

sudo dnf remove jakarta-server-pages-api

jakarta-server-pages-api Package Contents on Fedora 36

/usr/share/java/glassfish-jsp-api.jar
/usr/share/java/jakarta-server-pages
/usr/share/java/jakarta-server-pages/jakarta.servlet.jsp-api.jar
/usr/share/licenses/jakarta-server-pages-api
/usr/share/licenses/jakarta-server-pages-api/LICENSE.md
/usr/share/licenses/jakarta-server-pages-api/NOTICE.md
/usr/share/maven-metadata/jakarta-server-pages-jakarta.servlet.jsp-api.xml
/usr/share/maven-poms/glassfish-jsp-api.pom
/usr/share/maven-poms/jakarta-server-pages
/usr/share/maven-poms/jakarta-server-pages/jakarta.servlet.jsp-api.pom

References

Summary

In this tutorial we learn how to install jakarta-server-pages-api on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).