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

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

Introduction

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

What is php-sebastian-global-state

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

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

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

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

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

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

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

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

sudo dnf remove php-sebastian-global-state

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

/usr/share/doc/php-sebastian-global-state
/usr/share/doc/php-sebastian-global-state/LICENSE
/usr/share/doc/php-sebastian-global-state/README.md
/usr/share/doc/php-sebastian-global-state/composer.json
/usr/share/php/SebastianBergmann
/usr/share/php/SebastianBergmann/GlobalState
/usr/share/php/SebastianBergmann/GlobalState/Blacklist.php
/usr/share/php/SebastianBergmann/GlobalState/CodeExporter.php
/usr/share/php/SebastianBergmann/GlobalState/Exception.php
/usr/share/php/SebastianBergmann/GlobalState/Restorer.php
/usr/share/php/SebastianBergmann/GlobalState/RuntimeException.php
/usr/share/php/SebastianBergmann/GlobalState/Snapshot.php
/usr/share/php/SebastianBergmann/GlobalState/autoload.php

References

Summary

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