How To Install php-phpunit-PHPUnit-Story on Fedora 36

In this tutorial we learn how to install php-phpunit-PHPUnit-Story in Fedora 36. php-phpunit-PHPUnit-Story is Story extension for PHPUnit to facilitate Behaviour-Driven Development

Introduction

In this tutorial we learn how to install php-phpunit-PHPUnit-Story on Fedora 36.

What is php-phpunit-PHPUnit-Story

Story extension for PHPUnit to facilitate Behaviour-Driven Development

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

Install php-phpunit-PHPUnit-Story 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-phpunit-PHPUnit-Story using dnf by running the following command:

sudo dnf -y install php-phpunit-PHPUnit-Story

Install php-phpunit-PHPUnit-Story 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-phpunit-PHPUnit-Story using yum by running the following command:

sudo yum -y install php-phpunit-PHPUnit-Story

How To Uninstall php-phpunit-PHPUnit-Story on Fedora 36

To uninstall only the php-phpunit-PHPUnit-Story package we can use the following command:

sudo dnf remove php-phpunit-PHPUnit-Story

php-phpunit-PHPUnit-Story Package Contents on Fedora 36

/usr/share/doc/php-phpunit-PHPUnit-Story
/usr/share/doc/php-phpunit-PHPUnit-Story/ChangeLog.markdown
/usr/share/doc/php-phpunit-PHPUnit-Story/LICENSE
/usr/share/doc/php-phpunit-PHPUnit-Story/composer.json
/usr/share/php/PHPUnit/Extensions/Story
/usr/share/php/PHPUnit/Extensions/Story/Autoload.php
/usr/share/php/PHPUnit/Extensions/Story/Given.php
/usr/share/php/PHPUnit/Extensions/Story/ResultPrinter
/usr/share/php/PHPUnit/Extensions/Story/ResultPrinter.php
/usr/share/php/PHPUnit/Extensions/Story/ResultPrinter/HTML.php
/usr/share/php/PHPUnit/Extensions/Story/ResultPrinter/Template
/usr/share/php/PHPUnit/Extensions/Story/ResultPrinter/Template/scenario.html.dist
/usr/share/php/PHPUnit/Extensions/Story/ResultPrinter/Template/scenario_header.html.dist
/usr/share/php/PHPUnit/Extensions/Story/ResultPrinter/Template/scenarios.html.dist
/usr/share/php/PHPUnit/Extensions/Story/ResultPrinter/Template/step.html.dist
/usr/share/php/PHPUnit/Extensions/Story/ResultPrinter/Text.php
/usr/share/php/PHPUnit/Extensions/Story/Scenario.php
/usr/share/php/PHPUnit/Extensions/Story/Step.php
/usr/share/php/PHPUnit/Extensions/Story/TestCase.php
/usr/share/php/PHPUnit/Extensions/Story/Then.php
/usr/share/php/PHPUnit/Extensions/Story/When.php

References

Summary

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