How To Install php-phpunit-php-token-stream2 on Fedora 36

In this tutorial we learn how to install php-phpunit-php-token-stream2 in Fedora 36. php-phpunit-php-token-stream2 is Wrapper around PHP tokenizer extension

Introduction

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

What is php-phpunit-php-token-stream2

Wrapper around PHP tokenizer extension. Autoloader

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

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

sudo dnf -y install php-phpunit-php-token-stream2

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

sudo yum -y install php-phpunit-php-token-stream2

How To Uninstall php-phpunit-php-token-stream2 on Fedora 36

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

sudo dnf remove php-phpunit-php-token-stream2

php-phpunit-php-token-stream2 Package Contents on Fedora 36

/usr/share/doc/php-phpunit-php-token-stream2
/usr/share/doc/php-phpunit-php-token-stream2/ChangeLog.md
/usr/share/doc/php-phpunit-php-token-stream2/README.md
/usr/share/doc/php-phpunit-php-token-stream2/composer.json
/usr/share/licenses/php-phpunit-php-token-stream2
/usr/share/licenses/php-phpunit-php-token-stream2/LICENSE
/usr/share/php/SebastianBergmann
/usr/share/php/SebastianBergmann/PhpTokenStream2
/usr/share/php/SebastianBergmann/PhpTokenStream2/Token
/usr/share/php/SebastianBergmann/PhpTokenStream2/Token.php
/usr/share/php/SebastianBergmann/PhpTokenStream2/Token/Stream
/usr/share/php/SebastianBergmann/PhpTokenStream2/Token/Stream.php
/usr/share/php/SebastianBergmann/PhpTokenStream2/Token/Stream/CachingFactory.php
/usr/share/php/SebastianBergmann/PhpTokenStream2/autoload.php

References

Summary

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