How To Install xerces-j2-demo.noarch on Amazon Linux 2

In this tutorial we learn how to install xerces-j2-demo.noarch in Amazon Linux 2. xerces-j2-demo.noarch is Demonstrations and samples for xerces-j2

Introduction

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

What is xerces-j2-demo.noarch

Demonstrations and samples for xerces-j2.

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

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

sudo yum -y install xerces-j2-demo.noarch

How To Uninstall xerces-j2-demo.noarch on Amazon Linux 2

To uninstall only the xerces-j2-demo.noarch package we can use the following command:

sudo yum remove xerces-j2-demo.noarch

xerces-j2-demo.noarch Package Contents on Amazon Linux 2

/usr/share/xerces-j2
/usr/share/xerces-j2/data
/usr/share/xerces-j2/data/personal-schema.xml
/usr/share/xerces-j2/data/personal.dtd
/usr/share/xerces-j2/data/personal.xml
/usr/share/xerces-j2/data/personal.xsd
/usr/share/xerces-j2/xerces-j2-samples.jar

References

Summary

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