How To Install ruby-io-like on Kali Linux
Introduction
In this tutorial we learn how to install ruby-io-like
on Kali Linux.
What is ruby-io-like
ruby-io-like is:
The IO::Like module provides the methods of an IO object based upon on a few simple methods provided by the including class: unbuffered_read, unbuffered_write, and unbuffered_seek.
These methods provide the underlying read, write, and seek support respectively, and only the method or methods necessary to the correct operation of the IO aspects of the including class need to be provided.
Missing functionality will cause the resulting object to appear read-only, write-only, and/or unseekable depending on which underlying methods are absent. Additionally, read and write operations which are buffered in IO are buffered with independently configurable buffer sizes. Duplexed objects (those with separate read and write streams) are also supported.
There are three methods to install ruby-io-like
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-io-like 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-io-like
using apt-get
by running the following command:
sudo apt-get -y install ruby-io-like
Install ruby-io-like Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ruby-io-like
using apt
by running the following command:
sudo apt -y install ruby-io-like
Install ruby-io-like 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-io-like
using aptitude
by running the following command:
sudo aptitude -y install ruby-io-like
How To Uninstall ruby-io-like on Kali Linux
To uninstall only the ruby-io-like
package we can use the following command:
sudo apt-get remove ruby-io-like
Uninstall ruby-io-like And Its Dependencies
To uninstall ruby-io-like
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ruby-io-like
Remove ruby-io-like Configurations and Data
To remove ruby-io-like
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ruby-io-like
Remove ruby-io-like configuration, data, and all of its dependencies
We can use the following command to remove ruby-io-like
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-io-like
Dependencies
ruby-io-like have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-io-like
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.