How To Install perl-Array-Diff on Fedora 36

In this tutorial we learn how to install perl-Array-Diff in Fedora 36. perl-Array-Diff is Find the differences between two arrays

Introduction

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

What is perl-Array-Diff

This module compares two arrays and returns the added or deleted elements in two separate arrays. It’s a simple wrapper around Algorithm If you need more complex array tools, check Array

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

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

sudo dnf -y install perl-Array-Diff

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

sudo yum -y install perl-Array-Diff

How To Uninstall perl-Array-Diff on Fedora 36

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

sudo dnf remove perl-Array-Diff

perl-Array-Diff Package Contents on Fedora 36

/usr/share/doc/perl-Array-Diff
/usr/share/doc/perl-Array-Diff/Changes
/usr/share/doc/perl-Array-Diff/README
/usr/share/licenses/perl-Array-Diff
/usr/share/licenses/perl-Array-Diff/LICENSE
/usr/share/man/man3/Array::Diff.3pm.gz
/usr/share/perl5/vendor_perl/Array
/usr/share/perl5/vendor_perl/Array/Diff.pm

References

Summary

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