How To Install jakarta-server-pages on Fedora 36
Introduction
In this tutorial we learn how to install jakarta-server-pages
on Fedora 36.
What is jakarta-server-pages
Jakarta Server Pages provides a container-independent implementation of the JSP API.
We can use yum
or dnf
to install jakarta-server-pages
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install jakarta-server-pages.
Install jakarta-server-pages 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
using dnf
by running the following command:
sudo dnf -y install jakarta-server-pages
Install jakarta-server-pages 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
using yum
by running the following command:
sudo yum -y install jakarta-server-pages
How To Uninstall jakarta-server-pages on Fedora 36
To uninstall only the jakarta-server-pages
package we can use the following command:
sudo dnf remove jakarta-server-pages
jakarta-server-pages Package Contents on Fedora 36
/usr/share/doc/jakarta-server-pages
/usr/share/doc/jakarta-server-pages/README.md
/usr/share/java/glassfish-jsp.jar
/usr/share/java/jakarta-server-pages
/usr/share/java/jakarta-server-pages/jakarta.servlet.jsp.jar
/usr/share/java/javax.servlet.jsp.jar
/usr/share/licenses/jakarta-server-pages
/usr/share/licenses/jakarta-server-pages/LICENSE.md
/usr/share/licenses/jakarta-server-pages/NOTICE.md
/usr/share/maven-metadata/jakarta-server-pages-jakarta.servlet.jsp.xml
/usr/share/maven-poms/glassfish-jsp.pom
/usr/share/maven-poms/jakarta-server-pages
/usr/share/maven-poms/jakarta-server-pages/jakarta.servlet.jsp.pom
/usr/share/maven-poms/javax.servlet.jsp.pom
References
Summary
In this tutorial we learn how to install jakarta-server-pages
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).