How To Install php-pear-Cache-Lite on Rocky Linux 8

In this tutorial we learn how to install php-pear-Cache-Lite on Rocky Linux 8. php-pear-Cache-Lite is Fast and Safe little cache system for PHP

Introduction

In this tutorial we learn how to install php-pear-Cache-Lite on Rocky Linux 8.

What is php-pear-Cache-Lite

This package is a little cache system optimized for file containers. It is fast and safe (because it uses file locking and/or anti-corruption tests).

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

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

sudo dnf -y install php-pear-Cache-Lite

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

sudo yum -y install php-pear-Cache-Lite

How To Uninstall php-pear-Cache-Lite on Rocky Linux 8

To uninstall only the php-pear-Cache-Lite package we can use the following command:

sudo dnf remove php-pear-Cache-Lite

php-pear-Cache-Lite Package Contents on Rocky Linux 8

/usr/share/doc/pear/Cache_Lite
/usr/share/doc/pear/Cache_Lite/LICENSE
/usr/share/doc/pear/Cache_Lite/README.md
/usr/share/doc/pear/Cache_Lite/TODO
/usr/share/doc/pear/Cache_Lite/docs
/usr/share/doc/pear/Cache_Lite/docs/examples
/usr/share/doc/pear/Cache_Lite/docs/technical
/usr/share/pear/Cache
/usr/share/pear/Cache/Lite
/usr/share/pear/Cache/Lite.php
/usr/share/pear/Cache/Lite/File.php
/usr/share/pear/Cache/Lite/Function.php
/usr/share/pear/Cache/Lite/NestedOutput.php
/usr/share/pear/Cache/Lite/Output.php
/usr/share/tests/pear/Cache_Lite
/usr/share/tests/pear/Cache_Lite/phpunit.xml.dist
/usr/share/tests/pear/Cache_Lite/tests
/usr/share/tests/pear/Cache_Lite/tests/Cache_Lite_File_classical.phpt
/usr/share/tests/pear/Cache_Lite/tests/Cache_Lite_Function_classical.phpt
/usr/share/tests/pear/Cache_Lite/tests/Cache_Lite_Function_dontcache.phpt
/usr/share/tests/pear/Cache_Lite/tests/Cache_Lite_Function_drop.phpt
/usr/share/tests/pear/Cache_Lite/tests/Cache_Lite_Output_classical.phpt
/usr/share/tests/pear/Cache_Lite/tests/Cache_Lite_automaticCleaning.phpt
/usr/share/tests/pear/Cache_Lite/tests/Cache_Lite_classical.phpt
/usr/share/tests/pear/Cache_Lite/tests/Cache_Lite_error.phpt
/usr/share/tests/pear/Cache_Lite/tests/Cache_Lite_error2.phpt
/usr/share/tests/pear/Cache_Lite/tests/Cache_Lite_eternal.phpt
/usr/share/tests/pear/Cache_Lite/tests/Cache_Lite_fatest.phpt
/usr/share/tests/pear/Cache_Lite/tests/Cache_Lite_hashed.phpt
/usr/share/tests/pear/Cache_Lite/tests/Cache_Lite_lifetime.phpt
/usr/share/tests/pear/Cache_Lite/tests/Cache_Lite_memorycache.phpt
/usr/share/tests/pear/Cache_Lite/tests/Cache_Lite_serialization.phpt
/usr/share/tests/pear/Cache_Lite/tests/ErrorDieTest.php
/usr/share/tests/pear/Cache_Lite/tests/NestedOutputTest.php
/usr/share/tests/pear/Cache_Lite/tests/bench.php
/usr/share/tests/pear/Cache_Lite/tests/bench2.php
/usr/share/tests/pear/Cache_Lite/tests/bench3.php
/usr/share/tests/pear/Cache_Lite/tests/bootstrap.php
/usr/share/tests/pear/Cache_Lite/tests/cache_lite_base.inc
/usr/share/tests/pear/Cache_Lite/tests/cache_lite_file_base.inc
/usr/share/tests/pear/Cache_Lite/tests/cache_lite_function_base.inc
/usr/share/tests/pear/Cache_Lite/tests/cache_lite_output_base.inc
/usr/share/tests/pear/Cache_Lite/tests/callcache.inc
/usr/share/tests/pear/Cache_Lite/tests/errordie.php
/usr/share/tests/pear/Cache_Lite/tests/pearbug13693.phpt
/usr/share/tests/pear/Cache_Lite/tests/pearbug18192.php
/usr/share/tests/pear/Cache_Lite/tests/pearbug18328.phpt
/usr/share/tests/pear/Cache_Lite/tests/pearbug19422.phpt
/usr/share/tests/pear/Cache_Lite/tests/pearbug19711.phpt
/usr/share/tests/pear/Cache_Lite/tests/pearbug513.phpt
/usr/share/tests/pear/Cache_Lite/tests/pearbug7618.phpt
/usr/share/tests/pear/Cache_Lite/tests/readme
/usr/share/tests/pear/Cache_Lite/tests/tmpdir.inc
/var/lib/pear/pkgxml/php-pear-Cache-Lite.xml

References

Summary

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