How To Install php-phpunit-php-file-iterator2 on Fedora 36

In this tutorial we learn how to install php-phpunit-php-file-iterator2 in Fedora 36. php-phpunit-php-file-iterator2 is FilterIterator implementation that filters files based on a list of suffixes

Introduction

In this tutorial we learn how to install php-phpunit-php-file-iterator2 on Fedora 36.

What is php-phpunit-php-file-iterator2

FilterIterator implementation that filters files based on a list of suffixes.

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

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

sudo dnf -y install php-phpunit-php-file-iterator2

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

sudo yum -y install php-phpunit-php-file-iterator2

How To Uninstall php-phpunit-php-file-iterator2 on Fedora 36

To uninstall only the php-phpunit-php-file-iterator2 package we can use the following command:

sudo dnf remove php-phpunit-php-file-iterator2

php-phpunit-php-file-iterator2 Package Contents on Fedora 36

/usr/share/doc/php-phpunit-php-file-iterator2
/usr/share/doc/php-phpunit-php-file-iterator2/ChangeLog.md
/usr/share/doc/php-phpunit-php-file-iterator2/README.md
/usr/share/doc/php-phpunit-php-file-iterator2/composer.json
/usr/share/licenses/php-phpunit-php-file-iterator2
/usr/share/licenses/php-phpunit-php-file-iterator2/LICENSE
/usr/share/php/SebastianBergmann
/usr/share/php/SebastianBergmann/FileIterator2
/usr/share/php/SebastianBergmann/FileIterator2/Facade.php
/usr/share/php/SebastianBergmann/FileIterator2/Factory.php
/usr/share/php/SebastianBergmann/FileIterator2/Iterator.php
/usr/share/php/SebastianBergmann/FileIterator2/autoload.php

References

Summary

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