How To Install tomcat-el-2.2-api.noarch on Amazon Linux 2

In this tutorial we learn how to install tomcat-el-2.2-api.noarch in Amazon Linux 2. tomcat-el-2.2-api.noarch is Expression Language v2.2 API

Introduction

In this tutorial we learn how to install tomcat-el-2.2-api.noarch on Amazon Linux 2.

What is tomcat-el-2.2-api.noarch

Expression Language 2.2.

We can use yum to install tomcat-el-2.2-api.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install tomcat-el-2.2-api.noarch.

Install tomcat-el-2.2-api.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 tomcat-el-2.2-api.noarch using yum by running the following command:

sudo yum -y install tomcat-el-2.2-api.noarch

How To Uninstall tomcat-el-2.2-api.noarch on Amazon Linux 2

To uninstall only the tomcat-el-2.2-api.noarch package we can use the following command:

sudo yum remove tomcat-el-2.2-api.noarch

tomcat-el-2.2-api.noarch Package Contents on Amazon Linux 2

/usr/share/doc/tomcat-el-2.2-api-7.0.76
/usr/share/doc/tomcat-el-2.2-api-7.0.76/LICENSE
/usr/share/java/tomcat-el-2.2-api.jar
/usr/share/java/tomcat-el-api.jar
/usr/share/java/tomcat/tomcat-el-2.2-api.jar
/usr/share/maven-fragments/tomcat-tomcat-el-api
/usr/share/maven-poms/JPP-tomcat-el-api.pom

References

Summary

In this tutorial we learn how to install tomcat-el-2.2-api.noarch on Amazon Linux 2 using yum.