How To Install ruby-faye on Kali Linux
Introduction
In this tutorial we learn how to install ruby-faye
on Kali Linux.
What is ruby-faye
ruby-faye is:
Faye is a set of tools for simple publish-subscribe messaging between web clients.
It ships with easy-to-use message routing servers for Node.js and Rack applications, and clients that can be used on the server and in the browser.
There are three methods to install ruby-faye
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 ruby-faye Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ruby-faye
using apt-get
by running the following command:
sudo apt-get -y install ruby-faye
Install ruby-faye Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ruby-faye
using apt
by running the following command:
sudo apt -y install ruby-faye
Install ruby-faye 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.
sudo aptitude update
After updating apt database, We can install ruby-faye
using aptitude
by running the following command:
sudo aptitude -y install ruby-faye
How To Uninstall ruby-faye on Kali Linux
To uninstall only the ruby-faye
package we can use the following command:
sudo apt-get remove ruby-faye
Uninstall ruby-faye And Its Dependencies
To uninstall ruby-faye
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ruby-faye
Remove ruby-faye Configurations and Data
To remove ruby-faye
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ruby-faye
Remove ruby-faye configuration, data, and all of its dependencies
We can use the following command to remove ruby-faye
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-faye
Dependencies
ruby-faye have the following dependencies:
- ruby-cookiejar
- ruby-em-http-request
- ruby-eventmachine
- ruby-faye-websocket
- ruby-multi-json
- ruby-rack
- ruby-websocket-driver
References
Summary
In this tutorial we learn how to install ruby-faye
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.