How To Install tomcat-servlet-4 on Fedora 36
Introduction
In this tutorial we learn how to install tomcat-servlet-4
on Fedora 36.
What is tomcat-servlet-4
Apache Tomcat Servlet API Implementation Classes.
We can use yum
or dnf
to install tomcat-servlet-4
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install tomcat-servlet-4.
Install tomcat-servlet-4 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-servlet-4
using dnf
by running the following command:
sudo dnf -y install tomcat-servlet-4
Install tomcat-servlet-4 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-servlet-4
using yum
by running the following command:
sudo yum -y install tomcat-servlet-4
How To Uninstall tomcat-servlet-4 on Fedora 36
To uninstall only the tomcat-servlet-4
package we can use the following command:
sudo dnf remove tomcat-servlet-4
tomcat-servlet-4 Package Contents on Fedora 36
/usr/share/doc/tomcat-servlet-4.0-api
/usr/share/doc/tomcat-servlet-4.0-api/LICENSE
/usr/share/java/tomcat
/usr/share/java/tomcat-servlet-4.0-api.jar
/usr/share/java/tomcat/tomcat-servlet-api.jar
/usr/share/maven-metadata/tomcat-tomcat-servlet-api.xml
/usr/share/maven-poms/tomcat
/usr/share/maven-poms/tomcat/tomcat-servlet-api.pom
References
Summary
In this tutorial we learn how to install tomcat-servlet-4
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).