How To Install perl-Heap on Fedora 36
Introduction
In this tutorial we learn how to install perl-Heap
on Fedora 36.
What is perl-Heap
The Heap collection of modules provide routines that manage a heap of elements. A heap is a partially sorted structure that is always able to easily extract the smallest of the elements in the structure (or the largest if a reversed compare routine is provided). If the collection of elements is changing dynamically, the heap has less overhead than keeping the collection fully sorted. The elements must be objects as described in “Heap elements inserted into one heap must be mutually compatible - either the same class exactly or else classes that differ only in ways unrelated to the Heap
We can use yum
or dnf
to install perl-Heap
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Heap.
Install perl-Heap 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-Heap
using dnf
by running the following command:
sudo dnf -y install perl-Heap
Install perl-Heap 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-Heap
using yum
by running the following command:
sudo yum -y install perl-Heap
How To Uninstall perl-Heap on Fedora 36
To uninstall only the perl-Heap
package we can use the following command:
sudo dnf remove perl-Heap
perl-Heap Package Contents on Fedora 36
/usr/share/doc/perl-Heap
/usr/share/doc/perl-Heap/Changes
/usr/share/doc/perl-Heap/README
/usr/share/man/man3/Heap.3pm.gz
/usr/share/man/man3/Heap::Binary.3pm.gz
/usr/share/man/man3/Heap::Binomial.3pm.gz
/usr/share/man/man3/Heap::Elem.3pm.gz
/usr/share/man/man3/Heap::Elem::Num.3pm.gz
/usr/share/man/man3/Heap::Elem::NumRev.3pm.gz
/usr/share/man/man3/Heap::Elem::Ref.3pm.gz
/usr/share/man/man3/Heap::Elem::RefRev.3pm.gz
/usr/share/man/man3/Heap::Elem::Str.3pm.gz
/usr/share/man/man3/Heap::Elem::StrRev.3pm.gz
/usr/share/man/man3/Heap::Fibonacci.3pm.gz
/usr/share/perl5/vendor_perl/Heap
/usr/share/perl5/vendor_perl/Heap.pm
/usr/share/perl5/vendor_perl/Heap/Binary.pm
/usr/share/perl5/vendor_perl/Heap/Binomial.pm
/usr/share/perl5/vendor_perl/Heap/Elem
/usr/share/perl5/vendor_perl/Heap/Elem.pm
/usr/share/perl5/vendor_perl/Heap/Elem/Num.pm
/usr/share/perl5/vendor_perl/Heap/Elem/NumRev.pm
/usr/share/perl5/vendor_perl/Heap/Elem/Ref.pm
/usr/share/perl5/vendor_perl/Heap/Elem/RefRev.pm
/usr/share/perl5/vendor_perl/Heap/Elem/Str.pm
/usr/share/perl5/vendor_perl/Heap/Elem/StrRev.pm
/usr/share/perl5/vendor_perl/Heap/Fibonacci.pm
References
Summary
In this tutorial we learn how to install perl-Heap
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).