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 updateAfter updating apt database, We can install ruby-faye using apt-get by running the following command:
sudo apt-get -y install ruby-fayeInstall ruby-faye Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ruby-faye using apt by running the following command:
sudo apt -y install ruby-fayeInstall 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 updateAfter updating apt database, We can install ruby-faye using aptitude by running the following command:
sudo aptitude -y install ruby-fayeHow 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-fayeUninstall 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-fayeRemove 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-fayeRemove 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-fayeDependencies
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.