How To Install apache-commons-jexl.noarch on Amazon Linux 2

In this tutorial we learn how to install apache-commons-jexl.noarch in Amazon Linux 2. apache-commons-jexl.noarch is Java Expression Language (JEXL)

Introduction

In this tutorial we learn how to install apache-commons-jexl.noarch on Amazon Linux 2.

What is apache-commons-jexl.noarch

Java Expression Language (JEXL) is an expression language engine which can be embedded in applications and frameworks. JEXL is inspired by Jakarta Velocity and the Expression Language defined in the JavaServer Pages Standard Tag Library version 1.1 (JSTL) and JavaServer Pages version 2.0 (JSP). While inspired by JSTL EL, it must be noted that JEXL is not a compatible implementation of EL as defined in JSTL 1.1 (JSR-052) or JSP 2.0 (JSR-152). For a compatible implementation of these specifications, see the Commons EL project. JEXL attempts to bring some of the lessons learned by the Velocity community about expression languages in templating to a wider audience. Commons Jelly needed Velocity-ish method access, it just had to have it.

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

Install apache-commons-jexl.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 apache-commons-jexl.noarch using yum by running the following command:

sudo yum -y install apache-commons-jexl.noarch

How To Uninstall apache-commons-jexl.noarch on Amazon Linux 2

To uninstall only the apache-commons-jexl.noarch package we can use the following command:

sudo yum remove apache-commons-jexl.noarch

apache-commons-jexl.noarch Package Contents on Amazon Linux 2

/usr/share/doc/apache-commons-jexl-2.1.1
/usr/share/doc/apache-commons-jexl-2.1.1/LICENSE.txt
/usr/share/doc/apache-commons-jexl-2.1.1/NOTICE.txt
/usr/share/doc/apache-commons-jexl-2.1.1/RELEASE-NOTES.txt
/usr/share/java/apache-commons-jexl/commons-jexl.jar
/usr/share/maven-effective-poms/JPP.apache-commons-jexl-commons-jexl.pom
/usr/share/maven-fragments/apache-commons-jexl.xml
/usr/share/maven-poms/JPP.apache-commons-jexl-commons-jexl.pom

References

Summary

In this tutorial we learn how to install apache-commons-jexl.noarch on Amazon Linux 2 using yum.