How To Install php-react-socket on Fedora 36

In this tutorial we learn how to install php-react-socket in Fedora 36. php-react-socket is Async, streaming plaintext TCP/IP and secure TLS socket server

Introduction

In this tutorial we learn how to install php-react-socket on Fedora 36.

What is php-react-socket

Async, streaming plaintext TCP/IP and secure TLS socket server for React PHP. The socket component provides a more usable interface for a socket-layer server based on the EventLoop and Stream components. Autoloader

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

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

sudo dnf -y install php-react-socket

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

sudo yum -y install php-react-socket

How To Uninstall php-react-socket on Fedora 36

To uninstall only the php-react-socket package we can use the following command:

sudo dnf remove php-react-socket

php-react-socket Package Contents on Fedora 36

/usr/share/doc/php-react-socket
/usr/share/doc/php-react-socket/CHANGELOG.md
/usr/share/doc/php-react-socket/README.md
/usr/share/doc/php-react-socket/composer.json
/usr/share/licenses/php-react-socket
/usr/share/licenses/php-react-socket/LICENSE
/usr/share/php/React/Socket
/usr/share/php/React/Socket/Connection.php
/usr/share/php/React/Socket/ConnectionInterface.php
/usr/share/php/React/Socket/Connector.php
/usr/share/php/React/Socket/ConnectorInterface.php
/usr/share/php/React/Socket/DnsConnector.php
/usr/share/php/React/Socket/FdServer.php
/usr/share/php/React/Socket/FixedUriConnector.php
/usr/share/php/React/Socket/HappyEyeBallsConnectionBuilder.php
/usr/share/php/React/Socket/HappyEyeBallsConnector.php
/usr/share/php/React/Socket/LimitingServer.php
/usr/share/php/React/Socket/SecureConnector.php
/usr/share/php/React/Socket/SecureServer.php
/usr/share/php/React/Socket/Server.php
/usr/share/php/React/Socket/ServerInterface.php
/usr/share/php/React/Socket/SocketServer.php
/usr/share/php/React/Socket/StreamEncryption.php
/usr/share/php/React/Socket/TcpConnector.php
/usr/share/php/React/Socket/TcpServer.php
/usr/share/php/React/Socket/TimeoutConnector.php
/usr/share/php/React/Socket/UnixConnector.php
/usr/share/php/React/Socket/UnixServer.php
/usr/share/php/React/Socket/autoload.php

References

Summary

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