How To Install jetty-io on Fedora 36

In this tutorial we learn how to install jetty-io in Fedora 36. jetty-io is io module for Jetty

Introduction

In this tutorial we learn how to install jetty-io on Fedora 36.

What is jetty-io

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 io module for Jetty.

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

Install jetty-io 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 jetty-io using dnf by running the following command:

sudo dnf -y install jetty-io

Install jetty-io 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 jetty-io using yum by running the following command:

sudo yum -y install jetty-io

How To Uninstall jetty-io on Fedora 36

To uninstall only the jetty-io package we can use the following command:

sudo dnf remove jetty-io

jetty-io Package Contents on Fedora 36

/usr/share/java/jetty
/usr/share/java/jetty/jetty-io.jar
/usr/share/maven-metadata/jetty-jetty-io.xml
/usr/share/maven-poms/jetty
/usr/share/maven-poms/jetty/jetty-io.pom

References

Summary

In this tutorial we learn how to install jetty-io on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).