How To Install xsom.noarch on Amazon Linux 2

In this tutorial we learn how to install xsom.noarch in Amazon Linux 2. xsom.noarch is XML Schema Object Model (XSOM)

Introduction

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

What is xsom.noarch

XML Schema Object Model (XSOM) is a Java library that allows applications to easily parse XML Schema documents and inspect information in them. It is expected to be useful for applications that need to take XML Schema as an input. The library is a straight-forward implement of “schema components” as defined in the XML Schema spec part 1. Refer to this specification of how this object model works.

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

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

sudo yum -y install xsom.noarch

How To Uninstall xsom.noarch on Amazon Linux 2

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

sudo yum remove xsom.noarch

xsom.noarch Package Contents on Amazon Linux 2

/usr/share/doc/xsom-0
/usr/share/doc/xsom-0/license.txt
/usr/share/java/xsom.jar
/usr/share/maven-fragments/xsom
/usr/share/maven-poms/JPP-xsom.pom

References

Summary

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