How To Install tomcat-lib on Fedora 36

In this tutorial we learn how to install tomcat-lib in Fedora 36. tomcat-lib is Libraries needed to run the Tomcat Web container

Introduction

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

What is tomcat-lib

Libraries needed to run the Tomcat Web container.

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

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

sudo dnf -y install tomcat-lib

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

sudo yum -y install tomcat-lib

How To Uninstall tomcat-lib on Fedora 36

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

sudo dnf remove tomcat-lib

tomcat-lib Package Contents on Fedora 36

/usr/share/java/tomcat
/usr/share/java/tomcat-el-api.jar
/usr/share/java/tomcat-jsp-api.jar
/usr/share/java/tomcat-servlet-api.jar
/usr/share/java/tomcat/annotations-api.jar
/usr/share/java/tomcat/catalina-ant.jar
/usr/share/java/tomcat/catalina-ha.jar
/usr/share/java/tomcat/catalina-ssi.jar
/usr/share/java/tomcat/catalina-storeconfig.jar
/usr/share/java/tomcat/catalina-tribes.jar
/usr/share/java/tomcat/catalina.jar
/usr/share/java/tomcat/jasper-el.jar
/usr/share/java/tomcat/jasper-jdt.jar
/usr/share/java/tomcat/jasper.jar
/usr/share/java/tomcat/jaspic-api.jar
/usr/share/java/tomcat/tomcat-api.jar
/usr/share/java/tomcat/tomcat-coyote.jar
/usr/share/java/tomcat/tomcat-dbcp.jar
/usr/share/java/tomcat/tomcat-el-api.jar
/usr/share/java/tomcat/tomcat-i18n-cs.jar
/usr/share/java/tomcat/tomcat-i18n-de.jar
/usr/share/java/tomcat/tomcat-i18n-es.jar
/usr/share/java/tomcat/tomcat-i18n-fr.jar
/usr/share/java/tomcat/tomcat-i18n-ja.jar
/usr/share/java/tomcat/tomcat-i18n-ko.jar
/usr/share/java/tomcat/tomcat-i18n-pt-BR.jar
/usr/share/java/tomcat/tomcat-i18n-ru.jar
/usr/share/java/tomcat/tomcat-i18n-zh-CN.jar
/usr/share/java/tomcat/tomcat-jdbc.jar
/usr/share/java/tomcat/tomcat-jni.jar
/usr/share/java/tomcat/tomcat-jsp-2.3-api.jar
/usr/share/java/tomcat/tomcat-jsp-api.jar
/usr/share/java/tomcat/tomcat-servlet-4.0-api.jar
/usr/share/java/tomcat/tomcat-servlet-api.jar
/usr/share/java/tomcat/tomcat-util-scan.jar
/usr/share/java/tomcat/tomcat-util.jar
/usr/share/java/tomcat/tomcat-websocket.jar
/usr/share/java/tomcat/websocket-api.jar
/usr/share/tomcat/bin/tomcat-juli.jar

References

Summary

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