How To Install xalan-j2-xsltc.noarch on Amazon Linux 2

In this tutorial we learn how to install xalan-j2-xsltc.noarch in Amazon Linux 2. xalan-j2-xsltc.noarch is XSLT compiler

Introduction

In this tutorial we learn how to install xalan-j2-xsltc.noarch on Amazon Linux 2.

What is xalan-j2-xsltc.noarch

The XSLT Compiler is a Java-based tool for compiling XSLT stylesheets into lightweight and portable Java byte codes called translets.

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

Install xalan-j2-xsltc.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 xalan-j2-xsltc.noarch using yum by running the following command:

sudo yum -y install xalan-j2-xsltc.noarch

How To Uninstall xalan-j2-xsltc.noarch on Amazon Linux 2

To uninstall only the xalan-j2-xsltc.noarch package we can use the following command:

sudo yum remove xalan-j2-xsltc.noarch

xalan-j2-xsltc.noarch Package Contents on Amazon Linux 2

/usr/share/doc/xalan-j2-xsltc-2.7.1
/usr/share/doc/xalan-j2-xsltc-2.7.1/LICENSE.txt
/usr/share/doc/xalan-j2-xsltc-2.7.1/NOTICE.txt
/usr/share/java/xsltc.jar
/usr/share/maven-fragments/xalan-j2-xsltc
/usr/share/maven-poms/JPP-xsltc.pom

References

Summary

In this tutorial we learn how to install xalan-j2-xsltc.noarch on Amazon Linux 2 using yum.