How To Install perl-Cache on Fedora 36

In this tutorial we learn how to install perl-Cache in Fedora 36. perl-Cache is The Cache interface

Introduction

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

What is perl-Cache

The Cache modules are designed to assist a developer in persisting data for a specified period of time. Often these modules are used in web applications to store data locally to save repeated and redundant expensive calls to remote machines or databases. The Cache interface is implemented by derived classes that store cached data in different manners (such as as files on a filesystem, or in memory).

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

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

sudo dnf -y install perl-Cache

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

sudo yum -y install perl-Cache

How To Uninstall perl-Cache on Fedora 36

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

sudo dnf remove perl-Cache

perl-Cache Package Contents on Fedora 36

/usr/share/doc/perl-Cache
/usr/share/doc/perl-Cache/Changes
/usr/share/doc/perl-Cache/LICENSE
/usr/share/doc/perl-Cache/README
/usr/share/doc/perl-Cache/design.dia
/usr/share/man/man3/Cache.3pm.gz
/usr/share/man/man3/Cache::Entry.3pm.gz
/usr/share/man/man3/Cache::File.3pm.gz
/usr/share/man/man3/Cache::File::Entry.3pm.gz
/usr/share/man/man3/Cache::File::Handle.3pm.gz
/usr/share/man/man3/Cache::File::Heap.3pm.gz
/usr/share/man/man3/Cache::IOString.3pm.gz
/usr/share/man/man3/Cache::Memory.3pm.gz
/usr/share/man/man3/Cache::Memory::Entry.3pm.gz
/usr/share/man/man3/Cache::Memory::HeapElem.3pm.gz
/usr/share/man/man3/Cache::Null.3pm.gz
/usr/share/man/man3/Cache::Null::Entry.3pm.gz
/usr/share/man/man3/Cache::RemovalStrategy.3pm.gz
/usr/share/man/man3/Cache::RemovalStrategy::FIFO.3pm.gz
/usr/share/man/man3/Cache::RemovalStrategy::LRU.3pm.gz
/usr/share/perl5/vendor_perl/Cache
/usr/share/perl5/vendor_perl/Cache.pm
/usr/share/perl5/vendor_perl/Cache/Entry.pm
/usr/share/perl5/vendor_perl/Cache/File
/usr/share/perl5/vendor_perl/Cache/File.pm
/usr/share/perl5/vendor_perl/Cache/File/Entry.pm
/usr/share/perl5/vendor_perl/Cache/File/Handle.pm
/usr/share/perl5/vendor_perl/Cache/File/Heap.pm
/usr/share/perl5/vendor_perl/Cache/IOString.pm
/usr/share/perl5/vendor_perl/Cache/Memory
/usr/share/perl5/vendor_perl/Cache/Memory.pm
/usr/share/perl5/vendor_perl/Cache/Memory/Entry.pm
/usr/share/perl5/vendor_perl/Cache/Memory/HeapElem.pm
/usr/share/perl5/vendor_perl/Cache/Null
/usr/share/perl5/vendor_perl/Cache/Null.pm
/usr/share/perl5/vendor_perl/Cache/Null/Entry.pm
/usr/share/perl5/vendor_perl/Cache/RemovalStrategy
/usr/share/perl5/vendor_perl/Cache/RemovalStrategy.pm
/usr/share/perl5/vendor_perl/Cache/RemovalStrategy/FIFO.pm
/usr/share/perl5/vendor_perl/Cache/RemovalStrategy/LRU.pm

References

Summary

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