How To Install perl-Cache-Cache on Rocky Linux 8

In this tutorial we learn how to install perl-Cache-Cache on Rocky Linux 8. perl-Cache-Cache is Generic cache interface and implementations

Introduction

In this tutorial we learn how to install perl-Cache-Cache on Rocky Linux 8.

What is perl-Cache-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. People have also been known to use Cache its straightforward interface in sharing data between runs of an application or invocations of a CGI-style script or simply as an easy to use abstraction of the filesystem or shared memory.

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

Install perl-Cache-Cache on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Cache-Cache using dnf by running the following command:

sudo dnf -y install perl-Cache-Cache

Install perl-Cache-Cache on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Cache-Cache using yum by running the following command:

sudo yum -y install perl-Cache-Cache

How To Uninstall perl-Cache-Cache on Rocky Linux 8

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

sudo dnf remove perl-Cache-Cache

perl-Cache-Cache Package Contents on Rocky Linux 8

/usr/share/doc/perl-Cache-Cache
/usr/share/doc/perl-Cache-Cache/CHANGES
/usr/share/doc/perl-Cache-Cache/CREDITS
/usr/share/doc/perl-Cache-Cache/DISCLAIMER
/usr/share/doc/perl-Cache-Cache/README
/usr/share/doc/perl-Cache-Cache/STYLE
/usr/share/licenses/perl-Cache-Cache
/usr/share/licenses/perl-Cache-Cache/COPYING
/usr/share/man/man3/Cache::BaseCache.3pm.gz
/usr/share/man/man3/Cache::BaseCacheTester.3pm.gz
/usr/share/man/man3/Cache::Cache.3pm.gz
/usr/share/man/man3/Cache::CacheMetaData.3pm.gz
/usr/share/man/man3/Cache::CacheSizer.3pm.gz
/usr/share/man/man3/Cache::CacheTester.3pm.gz
/usr/share/man/man3/Cache::CacheUtils.3pm.gz
/usr/share/man/man3/Cache::FileBackend.3pm.gz
/usr/share/man/man3/Cache::FileCache.3pm.gz
/usr/share/man/man3/Cache::MemoryBackend.3pm.gz
/usr/share/man/man3/Cache::MemoryCache.3pm.gz
/usr/share/man/man3/Cache::NullCache.3pm.gz
/usr/share/man/man3/Cache::Object.3pm.gz
/usr/share/man/man3/Cache::SharedMemoryBackend.3pm.gz
/usr/share/man/man3/Cache::SharedMemoryCache.3pm.gz
/usr/share/man/man3/Cache::SizeAwareCache.3pm.gz
/usr/share/man/man3/Cache::SizeAwareCacheTester.3pm.gz
/usr/share/man/man3/Cache::SizeAwareFileCache.3pm.gz
/usr/share/man/man3/Cache::SizeAwareMemoryCache.3pm.gz
/usr/share/man/man3/Cache::SizeAwareSharedMemoryCache.3pm.gz
/usr/share/perl5/vendor_perl/Cache
/usr/share/perl5/vendor_perl/Cache/BaseCache.pm
/usr/share/perl5/vendor_perl/Cache/BaseCacheTester.pm
/usr/share/perl5/vendor_perl/Cache/Cache.pm
/usr/share/perl5/vendor_perl/Cache/CacheMetaData.pm
/usr/share/perl5/vendor_perl/Cache/CacheSizer.pm
/usr/share/perl5/vendor_perl/Cache/CacheTester.pm
/usr/share/perl5/vendor_perl/Cache/CacheUtils.pm
/usr/share/perl5/vendor_perl/Cache/FileBackend.pm
/usr/share/perl5/vendor_perl/Cache/FileCache.pm
/usr/share/perl5/vendor_perl/Cache/MemoryBackend.pm
/usr/share/perl5/vendor_perl/Cache/MemoryCache.pm
/usr/share/perl5/vendor_perl/Cache/NullCache.pm
/usr/share/perl5/vendor_perl/Cache/Object.pm
/usr/share/perl5/vendor_perl/Cache/SharedMemoryBackend.pm
/usr/share/perl5/vendor_perl/Cache/SharedMemoryCache.pm
/usr/share/perl5/vendor_perl/Cache/SizeAwareCache.pm
/usr/share/perl5/vendor_perl/Cache/SizeAwareCacheTester.pm
/usr/share/perl5/vendor_perl/Cache/SizeAwareFileCache.pm
/usr/share/perl5/vendor_perl/Cache/SizeAwareMemoryCache.pm
/usr/share/perl5/vendor_perl/Cache/SizeAwareSharedMemoryCache.pm

References

Summary

In this tutorial we learn how to install perl-Cache-Cache on Rocky Linux 8 using yum and dnf.