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

In this tutorial we learn how to install php-cache-adapter-common in Fedora 36. php-cache-adapter-common is Common classes for PSR-6 adapters

Introduction

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

What is php-cache-adapter-common

Common classes for PSR-6 adapters. Autoloader

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

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

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

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

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

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

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

sudo dnf remove php-cache-adapter-common

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

/usr/share/doc/php-cache-adapter-common
/usr/share/doc/php-cache-adapter-common/Changelog.md
/usr/share/doc/php-cache-adapter-common/README.md
/usr/share/doc/php-cache-adapter-common/composer.json
/usr/share/licenses/php-cache-adapter-common
/usr/share/licenses/php-cache-adapter-common/LICENSE
/usr/share/php/Cache/Adapter
/usr/share/php/Cache/Adapter/Common
/usr/share/php/Cache/Adapter/Common/AbstractCachePool.php
/usr/share/php/Cache/Adapter/Common/CacheItem.php
/usr/share/php/Cache/Adapter/Common/Exception
/usr/share/php/Cache/Adapter/Common/Exception/CacheException.php
/usr/share/php/Cache/Adapter/Common/Exception/CachePoolException.php
/usr/share/php/Cache/Adapter/Common/Exception/InvalidArgumentException.php
/usr/share/php/Cache/Adapter/Common/HasExpirationTimestampInterface.php
/usr/share/php/Cache/Adapter/Common/JsonBinaryArmoring.php
/usr/share/php/Cache/Adapter/Common/PhpCacheItem.php
/usr/share/php/Cache/Adapter/Common/PhpCachePool.php
/usr/share/php/Cache/Adapter/Common/TagSupportWithArray.php
/usr/share/php/Cache/Adapter/Common/autoload.php

References

Summary

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