How To Install tomcat-webapps on Fedora 36

In this tutorial we learn how to install tomcat-webapps in Fedora 36. tomcat-webapps is The ROOT web application for Apache Tomcat

Introduction

In this tutorial we learn how to install tomcat-webapps on Fedora 36.

What is tomcat-webapps

The ROOT web application for Apache Tomcat.

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

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

sudo dnf -y install tomcat-webapps

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

sudo yum -y install tomcat-webapps

How To Uninstall tomcat-webapps on Fedora 36

To uninstall only the tomcat-webapps package we can use the following command:

sudo dnf remove tomcat-webapps

tomcat-webapps Package Contents on Fedora 36

/var/lib/tomcat/webapps/ROOT
/var/lib/tomcat/webapps/ROOT/RELEASE-NOTES.txt
/var/lib/tomcat/webapps/ROOT/WEB-INF
/var/lib/tomcat/webapps/ROOT/WEB-INF/web.xml
/var/lib/tomcat/webapps/ROOT/asf-logo-wide.svg
/var/lib/tomcat/webapps/ROOT/bg-button.png
/var/lib/tomcat/webapps/ROOT/bg-middle.png
/var/lib/tomcat/webapps/ROOT/bg-nav.png
/var/lib/tomcat/webapps/ROOT/bg-upper.png
/var/lib/tomcat/webapps/ROOT/favicon.ico
/var/lib/tomcat/webapps/ROOT/index.jsp
/var/lib/tomcat/webapps/ROOT/tomcat.css
/var/lib/tomcat/webapps/ROOT/tomcat.svg

References

Summary

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