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

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

Introduction

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

What is php-sebastian-global-state4

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

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

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

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

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

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

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

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

sudo dnf remove php-sebastian-global-state4

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

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

References

Summary

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