How To Install perl-GraphViz-XML on Rocky Linux 8

In this tutorial we learn how to install perl-GraphViz-XML on Rocky Linux 8. perl-GraphViz-XML is Visualize XML as a tree

Introduction

In this tutorial we learn how to install perl-GraphViz-XML on Rocky Linux 8.

What is perl-GraphViz-XML

GraphViz elements are represented as diamond nodes, with links to elements within them. Character data is represented in round nodes.

We can use yum or dnf to install perl-GraphViz-XML on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-GraphViz-XML.

Install perl-GraphViz-XML on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-GraphViz-XML using dnf by running the following command:

sudo dnf -y install perl-GraphViz-XML

Install perl-GraphViz-XML on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-GraphViz-XML using yum by running the following command:

sudo yum -y install perl-GraphViz-XML

How To Uninstall perl-GraphViz-XML on Rocky Linux 8

To uninstall only the perl-GraphViz-XML package we can use the following command:

sudo dnf remove perl-GraphViz-XML

perl-GraphViz-XML Package Contents on Rocky Linux 8

/usr/share/doc/perl-GraphViz-XML
/usr/share/doc/perl-GraphViz-XML/xml.pl
/usr/share/man/man3/GraphViz::XML.3pm.gz
/usr/share/perl5/vendor_perl/GraphViz/XML.pm

References

Summary

In this tutorial we learn how to install perl-GraphViz-XML on Rocky Linux 8 using yum and dnf.