How To Install saxon.noarch on Amazon Linux 2

In this tutorial we learn how to install saxon.noarch in Amazon Linux 2. saxon.noarch is Java XPath, XSLT 2.0 and XQuery implementation

Introduction

In this tutorial we learn how to install saxon.noarch on Amazon Linux 2.

What is saxon.noarch

Saxon HE is Saxonica’s non-schema-aware implementation of the XPath 2.0, XSLT 2.0, and XQuery 1.0 specifications aligned with the W3C Candidate Recommendation published on 3 November 2005. It is a complete and conformant implementation, providing all the mandatory features of those specifications and nearly all the optional features.

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

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

sudo yum -y install saxon.noarch

How To Uninstall saxon.noarch on Amazon Linux 2

To uninstall only the saxon.noarch package we can use the following command:

sudo yum remove saxon.noarch

saxon.noarch Package Contents on Amazon Linux 2

/usr/share/doc/saxon-9.3.0.4
/usr/share/doc/saxon-9.3.0.4/mpl-1.0.txt
/usr/share/doc/saxon-9.3.0.4/mpl-1.1.txt
/usr/share/java/jaxp_transform_impl.jar
/usr/share/java/saxon.jar
/usr/share/maven-fragments/saxon
/usr/share/maven-poms/JPP-saxon.pom

References

Summary

In this tutorial we learn how to install saxon.noarch on Amazon Linux 2 using yum.