How To Install php-react-socket on Kali Linux
Introduction
In this tutorial we learn how to install php-react-socket
on Kali Linux.
What is php-react-socket
php-react-socket is:
This library implements asynchronous TCP/IP client and server connections for ReactPHP, both plaintext and TLS-secured.
The socket library provides re-usable interfaces for a socket-layer server and client based on the EventLoop and Stream components. Its server component allows one to build networking servers that accept incoming connections from networking clients (such as an HTTP server). Its client component allows one to build networking clients that establish outgoing connections to networking servers (such as an HTTP or database client). This library provides async, streaming means for all of this, so you can handle multiple concurrent connections without blocking.
There are three methods to install php-react-socket
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install php-react-socket Using apt-get
Update apt database with apt-get
using the following command.
After updating apt database, We can install php-react-socket
using apt-get
by running the following command:
Install php-react-socket Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install php-react-socket
using apt
by running the following command:
Install php-react-socket Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
After updating apt database, We can install php-react-socket
using aptitude
by running the following command:
How To Uninstall php-react-socket on Kali Linux
To uninstall only the php-react-socket
package we can use the following command:
Uninstall php-react-socket And Its Dependencies
To uninstall php-react-socket
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
Remove php-react-socket Configurations and Data
To remove php-react-socket
configuration and data from Kali Linux we can use the following command:
Remove php-react-socket configuration, data, and all of its dependencies
We can use the following command to remove php-react-socket
configurations, data and all of its dependencies, we can use the following command:
Dependencies
php-react-socket have the following dependencies:
- php-common
- php-evenement
- php-evenement
- php-react-dns
- php-react-dns
- php-react-event-loop
- php-react-event-loop
- php-react-promise
- php-react-promise
- php-react-promise-timer
- php-react-promise-timer
- php-react-stream
- php-react-stream
References
Summary
In this tutorial we learn how to install php-react-socket
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.