How To Install perl-Memoize on Fedora 36
Introduction
In this tutorial we learn how to install perl-Memoize on Fedora 36.
What is perl-Memoize
Memoizing a function makes it faster by trading space for time. It does this by caching the return values of the function in a table. If you call the function again with the same arguments, memoize jumps in and gives you the value out of the table, instead of letting the function compute the value all over again.
We can use yum or dnf to install perl-Memoize on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Memoize.
Install perl-Memoize 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-Memoize using dnf by running the following command:
sudo dnf -y install perl-Memoize
Install perl-Memoize 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-Memoize using yum by running the following command:
sudo yum -y install perl-Memoize
How To Uninstall perl-Memoize on Fedora 36
To uninstall only the perl-Memoize package we can use the following command:
sudo dnf remove perl-Memoize
perl-Memoize Package Contents on Fedora 36
/usr/share/man/man3/Memoize.3pm.gz
/usr/share/man/man3/Memoize::AnyDBM_File.3pm.gz
/usr/share/man/man3/Memoize::Expire.3pm.gz
/usr/share/man/man3/Memoize::ExpireFile.3pm.gz
/usr/share/man/man3/Memoize::ExpireTest.3pm.gz
/usr/share/man/man3/Memoize::NDBM_File.3pm.gz
/usr/share/man/man3/Memoize::SDBM_File.3pm.gz
/usr/share/man/man3/Memoize::Storable.3pm.gz
/usr/share/perl5/Memoize
/usr/share/perl5/Memoize.pm
/usr/share/perl5/Memoize/AnyDBM_File.pm
/usr/share/perl5/Memoize/Expire.pm
/usr/share/perl5/Memoize/ExpireFile.pm
/usr/share/perl5/Memoize/ExpireTest.pm
/usr/share/perl5/Memoize/NDBM_File.pm
/usr/share/perl5/Memoize/SDBM_File.pm
/usr/share/perl5/Memoize/Storable.pm
References
Summary
In this tutorial we learn how to install perl-Memoize on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).