How To Install perl-Graph on AlmaLinux 8
Introduction
In this tutorial we learn how to install perl-Graph
on AlmaLinux 8.
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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Graph.
Install perl-Graph 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-Graph
using dnf
by running the following command:
sudo dnf -y install perl-Graph
Install perl-Graph 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-Graph
using yum
by running the following command:
sudo yum -y install perl-Graph
How To Uninstall perl-Graph on AlmaLinux 8
To uninstall only the perl-Graph
package we can use the following command:
sudo dnf remove perl-Graph
References
Summary
In this tutorial we learn how to install perl-Graph
on AlmaLinux 8 using yum and dnf.