How To Install jetty-webapp.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install jetty-webapp.noarch
on Amazon Linux 2.
What is jetty-webapp.noarch
Jetty is a 100% Java HTTP Server and Servlet Container. This means that you do not need to configure and run a separate web server (like Apache) in order to use Java, servlets and JSPs to generate dynamic content. Jetty is a fully featured web server for static and dynamic content. Unlike separate server/container solutions, this means that your web server and web application run in the same process, without interconnection overheads and complications. Furthermore, as a pure java component, Jetty can be simply included in your application for demonstration, distribution or deployment. Jetty is available on all Java supported platforms. This package contains webapp module for Jetty.
We can use yum
to install jetty-webapp.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install jetty-webapp.noarch.
Install jetty-webapp.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 jetty-webapp.noarch
using yum
by running the following command:
sudo yum -y install jetty-webapp.noarch
How To Uninstall jetty-webapp.noarch on Amazon Linux 2
To uninstall only the jetty-webapp.noarch
package we can use the following command:
sudo yum remove jetty-webapp.noarch
jetty-webapp.noarch Package Contents on Amazon Linux 2
/usr/share/java/jetty/jetty-webapp.jar
/usr/share/maven-effective-poms/JPP.jetty-jetty-webapp.pom
/usr/share/maven-fragments/jetty-jetty-webapp.xml
/usr/share/maven-poms/JPP.jetty-jetty-webapp.pom
References
Summary
In this tutorial we learn how to install jetty-webapp.noarch
on Amazon Linux 2 using yum.