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.
After updating apt database, We can install ruby-colorize
using apt-get
by running the following command:
Install ruby-colorize Using apt
Update apt database with apt
using the following command.
After updating apt database, We can install ruby-colorize
using apt
by running the following command:
Install 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.
After updating apt database, We can install ruby-colorize
using aptitude
by running the following command:
How To Uninstall ruby-colorize on Kali Linux
To uninstall only the ruby-colorize
package we can use the following command:
Uninstall 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:
Remove ruby-colorize Configurations and Data
To remove ruby-colorize
configuration and data from Kali Linux we can use the following command:
Remove 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:
Dependencies
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
.