How To Install perl-Graph on Fedora 36

In this tutorial we learn how to install perl-Graph in Fedora 36. perl-Graph is Perl module for dealing with graphs, the abstract data structures

Introduction

In this tutorial we learn how to install perl-Graph on Fedora 36.

What is perl-Graph

This is Graph, a Perl module for dealing with graphs, the abstract data structures. This is a full rewrite of the Graph module 0.2xx series as discussed in the book “Mastering Algorithms with Perl”, written by Jarkko Hietaniemi (the undersigned), John Macdonald, and Jon Orwant, and published by O’Reilly and Associates. This rewrite is not fully compatible with the 0.2xx series.

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

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

sudo dnf -y install perl-Graph

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

sudo yum -y install perl-Graph

How To Uninstall perl-Graph on Fedora 36

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

sudo dnf remove perl-Graph

perl-Graph Package Contents on Fedora 36

/usr/share/doc/perl-Graph
/usr/share/doc/perl-Graph/Changes
/usr/share/doc/perl-Graph/DESIGN
/usr/share/doc/perl-Graph/README
/usr/share/doc/perl-Graph/RELEASE
/usr/share/doc/perl-Graph/TODO
/usr/share/doc/perl-Graph/util
/usr/share/doc/perl-Graph/util/cover.sh
/usr/share/doc/perl-Graph/util/grand.pl
/usr/share/doc/perl-Graph/util/size.pl
/usr/share/doc/perl-Graph/util/srand.sh
/usr/share/man/man3/Graph.3pm.gz
/usr/share/man/man3/Graph::AdjacencyMap.3pm.gz
/usr/share/man/man3/Graph::AdjacencyMatrix.3pm.gz
/usr/share/man/man3/Graph::BitMatrix.3pm.gz
/usr/share/man/man3/Graph::Directed.3pm.gz
/usr/share/man/man3/Graph::Matrix.3pm.gz
/usr/share/man/man3/Graph::TransitiveClosure.3pm.gz
/usr/share/man/man3/Graph::TransitiveClosure::Matrix.3pm.gz
/usr/share/man/man3/Graph::Traversal.3pm.gz
/usr/share/man/man3/Graph::Traversal::BFS.3pm.gz
/usr/share/man/man3/Graph::Traversal::DFS.3pm.gz
/usr/share/man/man3/Graph::Undirected.3pm.gz
/usr/share/man/man3/Graph::UnionFind.3pm.gz
/usr/share/perl5/vendor_perl/Graph
/usr/share/perl5/vendor_perl/Graph.pm
/usr/share/perl5/vendor_perl/Graph.pod
/usr/share/perl5/vendor_perl/Graph/AdjacencyMap
/usr/share/perl5/vendor_perl/Graph/AdjacencyMap.pm
/usr/share/perl5/vendor_perl/Graph/AdjacencyMap/Light.pm
/usr/share/perl5/vendor_perl/Graph/AdjacencyMatrix.pm
/usr/share/perl5/vendor_perl/Graph/Attribute.pm
/usr/share/perl5/vendor_perl/Graph/BitMatrix.pm
/usr/share/perl5/vendor_perl/Graph/Directed.pm
/usr/share/perl5/vendor_perl/Graph/MSTHeapElem.pm
/usr/share/perl5/vendor_perl/Graph/Matrix.pm
/usr/share/perl5/vendor_perl/Graph/SPTHeapElem.pm
/usr/share/perl5/vendor_perl/Graph/TransitiveClosure
/usr/share/perl5/vendor_perl/Graph/TransitiveClosure.pm
/usr/share/perl5/vendor_perl/Graph/TransitiveClosure/Matrix.pm
/usr/share/perl5/vendor_perl/Graph/Traversal
/usr/share/perl5/vendor_perl/Graph/Traversal.pm
/usr/share/perl5/vendor_perl/Graph/Traversal/BFS.pm
/usr/share/perl5/vendor_perl/Graph/Traversal/DFS.pm
/usr/share/perl5/vendor_perl/Graph/Undirected.pm
/usr/share/perl5/vendor_perl/Graph/UnionFind.pm

References

Summary

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