How To Install php-cache-filesystem-adapter on Fedora 36

In this tutorial we learn how to install php-cache-filesystem-adapter in Fedora 36. php-cache-filesystem-adapter is A PSR-6 cache implementation using filesystem

Introduction

In this tutorial we learn how to install php-cache-filesystem-adapter on Fedora 36.

What is php-cache-filesystem-adapter

A PSR-6 cache implementation using filesystem. This implementation supports tags. Autoloader

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

Install php-cache-filesystem-adapter 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 php-cache-filesystem-adapter using dnf by running the following command:

sudo dnf -y install php-cache-filesystem-adapter

Install php-cache-filesystem-adapter 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 php-cache-filesystem-adapter using yum by running the following command:

sudo yum -y install php-cache-filesystem-adapter

How To Uninstall php-cache-filesystem-adapter on Fedora 36

To uninstall only the php-cache-filesystem-adapter package we can use the following command:

sudo dnf remove php-cache-filesystem-adapter

php-cache-filesystem-adapter Package Contents on Fedora 36

/usr/share/doc/php-cache-filesystem-adapter
/usr/share/doc/php-cache-filesystem-adapter/Changelog.md
/usr/share/doc/php-cache-filesystem-adapter/README.md
/usr/share/doc/php-cache-filesystem-adapter/composer.json
/usr/share/licenses/php-cache-filesystem-adapter
/usr/share/licenses/php-cache-filesystem-adapter/LICENSE
/usr/share/php/Cache/Adapter/Filesystem
/usr/share/php/Cache/Adapter/Filesystem/FilesystemCachePool.php
/usr/share/php/Cache/Adapter/Filesystem/autoload.php

References

Summary

In this tutorial we learn how to install php-cache-filesystem-adapter on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).