How To Install xmlgraphics-commons.noarch on Amazon Linux 2

In this tutorial we learn how to install xmlgraphics-commons.noarch in Amazon Linux 2. xmlgraphics-commons.noarch is XML Graphics Commons

Introduction

In this tutorial we learn how to install xmlgraphics-commons.noarch on Amazon Linux 2.

What is xmlgraphics-commons.noarch

Apache XML Graphics Commons is a library that consists of several reusable components used by Apache Batik and Apache FOP. Many of these components can easily be used separately outside the domains of SVG and XSL-FO. You will find components such as a PDF library, an RTF library, Graphics2D implementations that let you generate PDF & PostScript files, and much more.

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

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

sudo yum -y install xmlgraphics-commons.noarch

How To Uninstall xmlgraphics-commons.noarch on Amazon Linux 2

To uninstall only the xmlgraphics-commons.noarch package we can use the following command:

sudo yum remove xmlgraphics-commons.noarch

xmlgraphics-commons.noarch Package Contents on Amazon Linux 2

/usr/share/doc/xmlgraphics-commons-1.5
/usr/share/doc/xmlgraphics-commons-1.5/LICENSE
/usr/share/doc/xmlgraphics-commons-1.5/NOTICE
/usr/share/doc/xmlgraphics-commons-1.5/README
/usr/share/java/xmlgraphics-commons.jar
/usr/share/maven-fragments/xmlgraphics-commons
/usr/share/maven-poms/JPP-xmlgraphics-commons.pom

References

Summary

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