How To Install php-phpunit-php-timer5 on Fedora 36

In this tutorial we learn how to install php-phpunit-php-timer5 in Fedora 36. php-phpunit-php-timer5 is PHP Utility class for timing, version 5

Introduction

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

What is php-phpunit-php-timer5

Utility class for timing things, factored out of PHPUnit into a stand-alone component.

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

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

sudo dnf -y install php-phpunit-php-timer5

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

sudo yum -y install php-phpunit-php-timer5

How To Uninstall php-phpunit-php-timer5 on Fedora 36

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

sudo dnf remove php-phpunit-php-timer5

php-phpunit-php-timer5 Package Contents on Fedora 36

/usr/share/doc/php-phpunit-php-timer5
/usr/share/doc/php-phpunit-php-timer5/README.md
/usr/share/doc/php-phpunit-php-timer5/composer.json
/usr/share/licenses/php-phpunit-php-timer5
/usr/share/licenses/php-phpunit-php-timer5/LICENSE
/usr/share/php/SebastianBergmann
/usr/share/php/SebastianBergmann/Timer5
/usr/share/php/SebastianBergmann/Timer5/Duration.php
/usr/share/php/SebastianBergmann/Timer5/ResourceUsageFormatter.php
/usr/share/php/SebastianBergmann/Timer5/Timer.php
/usr/share/php/SebastianBergmann/Timer5/autoload.php
/usr/share/php/SebastianBergmann/Timer5/exceptions
/usr/share/php/SebastianBergmann/Timer5/exceptions/Exception.php
/usr/share/php/SebastianBergmann/Timer5/exceptions/NoActiveTimerException.php
/usr/share/php/SebastianBergmann/Timer5/exceptions/TimeSinceStartOfRequestNotAvailableException.php

References

Summary

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