How To Install php-sebastian-environment4 on Fedora 36

In this tutorial we learn how to install php-sebastian-environment4 in Fedora 36. php-sebastian-environment4 is Handle HHVM/PHP environments

Introduction

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

What is php-sebastian-environment4

This component provides functionality that helps writing PHP code that has runtime-specific (PHP / HHVM) execution paths.

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

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

sudo dnf -y install php-sebastian-environment4

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

sudo yum -y install php-sebastian-environment4

How To Uninstall php-sebastian-environment4 on Fedora 36

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

sudo dnf remove php-sebastian-environment4

php-sebastian-environment4 Package Contents on Fedora 36

/usr/share/doc/php-sebastian-environment4
/usr/share/doc/php-sebastian-environment4/README.md
/usr/share/doc/php-sebastian-environment4/composer.json
/usr/share/licenses/php-sebastian-environment4
/usr/share/licenses/php-sebastian-environment4/LICENSE
/usr/share/php/SebastianBergmann
/usr/share/php/SebastianBergmann/Environment4
/usr/share/php/SebastianBergmann/Environment4/Console.php
/usr/share/php/SebastianBergmann/Environment4/OperatingSystem.php
/usr/share/php/SebastianBergmann/Environment4/Runtime.php
/usr/share/php/SebastianBergmann/Environment4/autoload.php

References

Summary

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