How To Install xmlgraphics-commons on Fedora 36

In this tutorial we learn how to install xmlgraphics-commons in Fedora 36. xmlgraphics-commons is XML Graphics Commons

Introduction

In this tutorial we learn how to install xmlgraphics-commons on Fedora 36.

What is xmlgraphics-commons

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

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

sudo dnf -y install xmlgraphics-commons

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

sudo yum -y install xmlgraphics-commons

How To Uninstall xmlgraphics-commons on Fedora 36

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

sudo dnf remove xmlgraphics-commons

xmlgraphics-commons Package Contents on Fedora 36

/usr/share/doc/xmlgraphics-commons
/usr/share/doc/xmlgraphics-commons/README
/usr/share/java/xmlgraphics-commons.jar
/usr/share/licenses/xmlgraphics-commons
/usr/share/licenses/xmlgraphics-commons/LICENSE
/usr/share/licenses/xmlgraphics-commons/NOTICE
/usr/share/maven-metadata/xmlgraphics-commons.xml
/usr/share/maven-poms/xmlgraphics-commons.pom

References

Summary

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