How To Install php-react-event-loop on Fedora 36
Introduction
In this tutorial we learn how to install php-react-event-loop
on Fedora 36.
What is php-react-event-loop
Event loop abstraction layer that libraries can use for evented I/O. In order for async based libraries to be interoperable, they need to use the same event loop. This component provides a common LoopInterface that any library can target. This allows them to be used in the same loop, with one single run call that is controlled by the user. In addition to the interface there are some implementations provided * StreamSelectLoop with PHP. It does a simple select system call. It’s not the most performant of loops, but still does the job quite well. * LibEventLoop a number of system-specific backends (epoll, kqueue). * LibEvLoop backends as libevent. * ExtEventLoop backends as libevent. All of the loops support these features * File descriptor polling * One-off timers * Periodic timers * Deferred execution of callbacks Autoloader
We can use yum
or dnf
to install php-react-event-loop
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install php-react-event-loop.
Install php-react-event-loop 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-react-event-loop
using dnf
by running the following command:
sudo dnf -y install php-react-event-loop
Install php-react-event-loop 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-react-event-loop
using yum
by running the following command:
sudo yum -y install php-react-event-loop
How To Uninstall php-react-event-loop on Fedora 36
To uninstall only the php-react-event-loop
package we can use the following command:
sudo dnf remove php-react-event-loop
php-react-event-loop Package Contents on Fedora 36
/usr/share/doc/php-react-event-loop
/usr/share/doc/php-react-event-loop/CHANGELOG.md
/usr/share/doc/php-react-event-loop/README.md
/usr/share/doc/php-react-event-loop/composer.json
/usr/share/licenses/php-react-event-loop
/usr/share/licenses/php-react-event-loop/LICENSE
/usr/share/php/React
/usr/share/php/React/EventLoop
/usr/share/php/React/EventLoop/ExtEvLoop.php
/usr/share/php/React/EventLoop/ExtEventLoop.php
/usr/share/php/React/EventLoop/ExtLibevLoop.php
/usr/share/php/React/EventLoop/ExtLibeventLoop.php
/usr/share/php/React/EventLoop/ExtUvLoop.php
/usr/share/php/React/EventLoop/Factory.php
/usr/share/php/React/EventLoop/Loop.php
/usr/share/php/React/EventLoop/LoopInterface.php
/usr/share/php/React/EventLoop/SignalsHandler.php
/usr/share/php/React/EventLoop/StreamSelectLoop.php
/usr/share/php/React/EventLoop/Tick
/usr/share/php/React/EventLoop/Tick/FutureTickQueue.php
/usr/share/php/React/EventLoop/Timer
/usr/share/php/React/EventLoop/Timer/Timer.php
/usr/share/php/React/EventLoop/Timer/Timers.php
/usr/share/php/React/EventLoop/TimerInterface.php
/usr/share/php/React/EventLoop/autoload.php
References
Summary
In this tutorial we learn how to install php-react-event-loop
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).