How To Install xalan-j2-xsltc on Fedora 36

In this tutorial we learn how to install xalan-j2-xsltc in Fedora 36. xalan-j2-xsltc is XSLT compiler

Introduction

In this tutorial we learn how to install xalan-j2-xsltc on Fedora 36.

What is xalan-j2-xsltc

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 or dnf to install xalan-j2-xsltc on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install xalan-j2-xsltc.

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

sudo dnf -y install xalan-j2-xsltc

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

sudo yum -y install xalan-j2-xsltc

How To Uninstall xalan-j2-xsltc on Fedora 36

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

sudo dnf remove xalan-j2-xsltc

xalan-j2-xsltc Package Contents on Fedora 36

/usr/share/java/xsltc.jar
/usr/share/licenses/xalan-j2-xsltc
/usr/share/licenses/xalan-j2-xsltc/LICENSE.txt
/usr/share/licenses/xalan-j2-xsltc/NOTICE.txt
/usr/share/maven-metadata/xalan-j2-xsltc.xml
/usr/share/maven-poms/xsltc.pom

References

Summary

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