How To Install php-doctrine-cache on Fedora 36

In this tutorial we learn how to install php-doctrine-cache in Fedora 36. php-doctrine-cache is Doctrine Cache

Introduction

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

What is php-doctrine-cache

Cache component extracted from the Doctrine Common project. Autoloader

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

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

sudo dnf -y install php-doctrine-cache

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

sudo yum -y install php-doctrine-cache

How To Uninstall php-doctrine-cache on Fedora 36

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

sudo dnf remove php-doctrine-cache

php-doctrine-cache Package Contents on Fedora 36

/usr/share/doc/php-doctrine-cache
/usr/share/doc/php-doctrine-cache/README.md
/usr/share/doc/php-doctrine-cache/UPGRADE-1.11.md
/usr/share/doc/php-doctrine-cache/UPGRADE-1.4.md
/usr/share/doc/php-doctrine-cache/composer.json
/usr/share/licenses/php-doctrine-cache
/usr/share/licenses/php-doctrine-cache/LICENSE
/usr/share/php/Doctrine
/usr/share/php/Doctrine/Common
/usr/share/php/Doctrine/Common/Cache
/usr/share/php/Doctrine/Common/Cache/ApcCache.php
/usr/share/php/Doctrine/Common/Cache/ApcuCache.php
/usr/share/php/Doctrine/Common/Cache/ArrayCache.php
/usr/share/php/Doctrine/Common/Cache/Cache.php
/usr/share/php/Doctrine/Common/Cache/CacheProvider.php
/usr/share/php/Doctrine/Common/Cache/ChainCache.php
/usr/share/php/Doctrine/Common/Cache/ClearableCache.php
/usr/share/php/Doctrine/Common/Cache/CouchbaseBucketCache.php
/usr/share/php/Doctrine/Common/Cache/CouchbaseCache.php
/usr/share/php/Doctrine/Common/Cache/ExtMongoDBCache.php
/usr/share/php/Doctrine/Common/Cache/FileCache.php
/usr/share/php/Doctrine/Common/Cache/FilesystemCache.php
/usr/share/php/Doctrine/Common/Cache/FlushableCache.php
/usr/share/php/Doctrine/Common/Cache/InvalidCacheId.php
/usr/share/php/Doctrine/Common/Cache/LegacyMongoDBCache.php
/usr/share/php/Doctrine/Common/Cache/MemcacheCache.php
/usr/share/php/Doctrine/Common/Cache/MemcachedCache.php
/usr/share/php/Doctrine/Common/Cache/MongoDBCache.php
/usr/share/php/Doctrine/Common/Cache/MultiDeleteCache.php
/usr/share/php/Doctrine/Common/Cache/MultiGetCache.php
/usr/share/php/Doctrine/Common/Cache/MultiOperationCache.php
/usr/share/php/Doctrine/Common/Cache/MultiPutCache.php
/usr/share/php/Doctrine/Common/Cache/PhpFileCache.php
/usr/share/php/Doctrine/Common/Cache/PredisCache.php
/usr/share/php/Doctrine/Common/Cache/Psr6
/usr/share/php/Doctrine/Common/Cache/Psr6/CacheAdapter.php
/usr/share/php/Doctrine/Common/Cache/Psr6/CacheItem.php
/usr/share/php/Doctrine/Common/Cache/Psr6/DoctrineProvider.php
/usr/share/php/Doctrine/Common/Cache/Psr6/InvalidArgument.php
/usr/share/php/Doctrine/Common/Cache/Psr6/TypedCacheItem.php
/usr/share/php/Doctrine/Common/Cache/RedisCache.php
/usr/share/php/Doctrine/Common/Cache/SQLite3Cache.php
/usr/share/php/Doctrine/Common/Cache/Version.php
/usr/share/php/Doctrine/Common/Cache/VoidCache.php
/usr/share/php/Doctrine/Common/Cache/XcacheCache.php
/usr/share/php/Doctrine/Common/Cache/autoload.php

References

Summary

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