How To Install perl-GraphViz on AlmaLinux 8

In this tutorial we learn how to install perl-GraphViz in AlmaLinux 8. perl-GraphViz is Interface to the GraphViz graphing tool

Introduction

In this tutorial we learn how to install perl-GraphViz on AlmaLinux 8.

What is perl-GraphViz

This Perl module provides an interface to layout and image generation of directed and undirected graphs in a variety of formats (PostScript, PNG, etc.) using the “dot”, “neato”, “twopi”, “circo” and “fdp” programs from the GraphViz project (<http

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

Install perl-GraphViz on AlmaLinux 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 using dnf by running the following command:

sudo dnf -y install perl-GraphViz

Install perl-GraphViz on AlmaLinux 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 using yum by running the following command:

sudo yum -y install perl-GraphViz

How To Uninstall perl-GraphViz on AlmaLinux 8

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

sudo dnf remove perl-GraphViz

References

Summary

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