How To Install php-sebastian-global-state2 on Fedora 36

In this tutorial we learn how to install php-sebastian-global-state2 in Fedora 36. php-sebastian-global-state2 is Snapshotting of global state

Introduction

In this tutorial we learn how to install php-sebastian-global-state2 on Fedora 36.

What is php-sebastian-global-state2

Snapshotting of global state, factored out of PHPUnit into a stand-alone component.

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

Install php-sebastian-global-state2 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-sebastian-global-state2 using dnf by running the following command:

sudo dnf -y install php-sebastian-global-state2

Install php-sebastian-global-state2 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-sebastian-global-state2 using yum by running the following command:

sudo yum -y install php-sebastian-global-state2

How To Uninstall php-sebastian-global-state2 on Fedora 36

To uninstall only the php-sebastian-global-state2 package we can use the following command:

sudo dnf remove php-sebastian-global-state2

php-sebastian-global-state2 Package Contents on Fedora 36

/usr/share/doc/php-sebastian-global-state2
/usr/share/doc/php-sebastian-global-state2/README.md
/usr/share/doc/php-sebastian-global-state2/composer.json
/usr/share/licenses/php-sebastian-global-state2
/usr/share/licenses/php-sebastian-global-state2/LICENSE
/usr/share/php/SebastianBergmann
/usr/share/php/SebastianBergmann/GlobalState2
/usr/share/php/SebastianBergmann/GlobalState2/Blacklist.php
/usr/share/php/SebastianBergmann/GlobalState2/CodeExporter.php
/usr/share/php/SebastianBergmann/GlobalState2/Restorer.php
/usr/share/php/SebastianBergmann/GlobalState2/Snapshot.php
/usr/share/php/SebastianBergmann/GlobalState2/autoload.php
/usr/share/php/SebastianBergmann/GlobalState2/exceptions
/usr/share/php/SebastianBergmann/GlobalState2/exceptions/Exception.php
/usr/share/php/SebastianBergmann/GlobalState2/exceptions/RuntimeException.php

References

Summary

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