How To Install php-cache-integration-tests on Fedora 36

In this tutorial we learn how to install php-cache-integration-tests in Fedora 36. php-cache-integration-tests is Integration tests for PSR-6 and PSR-16 cache implementations

Introduction

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

What is php-cache-integration-tests

This package contains integration tests to make sure your implementation of a PSR-6 and/or PSR-16 cache follows the rules by PHP-FIG. It is a part of the PHP Cache organization. Autoloader

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

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

sudo dnf -y install php-cache-integration-tests

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

sudo yum -y install php-cache-integration-tests

How To Uninstall php-cache-integration-tests on Fedora 36

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

sudo dnf remove php-cache-integration-tests

php-cache-integration-tests Package Contents on Fedora 36

/usr/share/doc/php-cache-integration-tests
/usr/share/doc/php-cache-integration-tests/README.md
/usr/share/doc/php-cache-integration-tests/composer.json
/usr/share/licenses/php-cache-integration-tests
/usr/share/licenses/php-cache-integration-tests/LICENSE
/usr/share/php/Cache/IntegrationTests
/usr/share/php/Cache/IntegrationTests/CachePoolTest.php
/usr/share/php/Cache/IntegrationTests/HierarchicalCachePoolTest.php
/usr/share/php/Cache/IntegrationTests/SimpleCacheTest.php
/usr/share/php/Cache/IntegrationTests/TaggableCachePoolTest.php
/usr/share/php/Cache/IntegrationTests/autoload.php

References

Summary

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