How To Install php-sabre-event5 on Fedora 36

In this tutorial we learn how to install php-sabre-event5 in Fedora 36. php-sabre-event5 is Lightweight library for event-based programming

Introduction

In this tutorial we learn how to install php-sabre-event5 on Fedora 36.

What is php-sabre-event5

This library provides the following event-based concepts * EventEmitter. * Promises. * An event loop. * Co-routines. Full documentation can be found on http Autoloader

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

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

sudo dnf -y install php-sabre-event5

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

sudo yum -y install php-sabre-event5

How To Uninstall php-sabre-event5 on Fedora 36

To uninstall only the php-sabre-event5 package we can use the following command:

sudo dnf remove php-sabre-event5

php-sabre-event5 Package Contents on Fedora 36

/usr/share/doc/php-sabre-event5
/usr/share/doc/php-sabre-event5/CHANGELOG.md
/usr/share/doc/php-sabre-event5/README.md
/usr/share/doc/php-sabre-event5/composer.json
/usr/share/licenses/php-sabre-event5
/usr/share/licenses/php-sabre-event5/LICENSE
/usr/share/php/Sabre
/usr/share/php/Sabre/Event5
/usr/share/php/Sabre/Event5/Emitter.php
/usr/share/php/Sabre/Event5/EmitterInterface.php
/usr/share/php/Sabre/Event5/EmitterTrait.php
/usr/share/php/Sabre/Event5/EventEmitter.php
/usr/share/php/Sabre/Event5/Loop
/usr/share/php/Sabre/Event5/Loop/Loop.php
/usr/share/php/Sabre/Event5/Loop/functions.php
/usr/share/php/Sabre/Event5/Promise
/usr/share/php/Sabre/Event5/Promise.php
/usr/share/php/Sabre/Event5/Promise/functions.php
/usr/share/php/Sabre/Event5/PromiseAlreadyResolvedException.php
/usr/share/php/Sabre/Event5/Version.php
/usr/share/php/Sabre/Event5/WildcardEmitter.php
/usr/share/php/Sabre/Event5/WildcardEmitterTrait.php
/usr/share/php/Sabre/Event5/autoload.php
/usr/share/php/Sabre/Event5/coroutine.php

References

Summary

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