How To Install php-sanmai-phpunit-legacy-adapter on Fedora 36

In this tutorial we learn how to install php-sanmai-phpunit-legacy-adapter in Fedora 36. php-sanmai-phpunit-legacy-adapter is PHPUnit Legacy Versions Adapter

Introduction

In this tutorial we learn how to install php-sanmai-phpunit-legacy-adapter on Fedora 36.

What is php-sanmai-phpunit-legacy-adapter

PHPUnit Legacy Versions Adapter. This version is compatible with phpunit version 7, 8 and 9. Autoloader

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

Install php-sanmai-phpunit-legacy-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-sanmai-phpunit-legacy-adapter using dnf by running the following command:

sudo dnf -y install php-sanmai-phpunit-legacy-adapter

Install php-sanmai-phpunit-legacy-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-sanmai-phpunit-legacy-adapter using yum by running the following command:

sudo yum -y install php-sanmai-phpunit-legacy-adapter

How To Uninstall php-sanmai-phpunit-legacy-adapter on Fedora 36

To uninstall only the php-sanmai-phpunit-legacy-adapter package we can use the following command:

sudo dnf remove php-sanmai-phpunit-legacy-adapter

php-sanmai-phpunit-legacy-adapter Package Contents on Fedora 36

/usr/share/doc/php-sanmai-phpunit-legacy-adapter
/usr/share/doc/php-sanmai-phpunit-legacy-adapter/README.md
/usr/share/doc/php-sanmai-phpunit-legacy-adapter/composer.json
/usr/share/licenses/php-sanmai-phpunit-legacy-adapter
/usr/share/licenses/php-sanmai-phpunit-legacy-adapter/LICENSE
/usr/share/php/LegacyPHPUnit
/usr/share/php/LegacyPHPUnit/TestCase.php
/usr/share/php/LegacyPHPUnit/autoload.php

References

Summary

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