How To Install ruby-colorize on Kali Linux
Introduction
In this tutorial we learn how to install ruby-colorize on Kali Linux.
What is ruby-colorize
ruby-colorize is:
This Ruby extension adds methods to the String Class to set text color, background color and text effects on the console and command line output. It is using ANSI escape sequences.
There are three methods to install ruby-colorize 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-colorize Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install ruby-colorize using apt-get by running the following command:
sudo apt-get -y install ruby-colorizeInstall ruby-colorize Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ruby-colorize using apt by running the following command:
sudo apt -y install ruby-colorizeInstall ruby-colorize 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-colorize using aptitude by running the following command:
sudo aptitude -y install ruby-colorizeHow To Uninstall ruby-colorize on Kali Linux
To uninstall only the ruby-colorize package we can use the following command:
sudo apt-get remove ruby-colorizeUninstall ruby-colorize And Its Dependencies
To uninstall ruby-colorize and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ruby-colorizeRemove ruby-colorize Configurations and Data
To remove ruby-colorize configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ruby-colorizeRemove ruby-colorize configuration, data, and all of its dependencies
We can use the following command to remove ruby-colorize configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ruby-colorizeDependencies
ruby-colorize have the following dependencies:
References
Summary
In this tutorial we learn how to install ruby-colorize package on Kali Linux using different package management tools: apt, apt-get and aptitude.