How To Install rubygem-colorize on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-colorize
on Fedora 36.
What is rubygem-colorize
Ruby String class extension. Adds methods to set text color, background color and, text effects on ruby console and command line output, using ANSI escape sequences.
We can use yum
or dnf
to install rubygem-colorize
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-colorize.
Install rubygem-colorize on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install rubygem-colorize
using dnf
by running the following command:
sudo dnf -y install rubygem-colorize
Install rubygem-colorize on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install rubygem-colorize
using yum
by running the following command:
sudo yum -y install rubygem-colorize
How To Uninstall rubygem-colorize on Fedora 36
To uninstall only the rubygem-colorize
package we can use the following command:
sudo dnf remove rubygem-colorize
rubygem-colorize Package Contents on Fedora 36
/usr/share/gems/gems/colorize-0.8.1
/usr/share/gems/gems/colorize-0.8.1/LICENSE
/usr/share/gems/gems/colorize-0.8.1/lib
/usr/share/gems/gems/colorize-0.8.1/lib/colorize
/usr/share/gems/gems/colorize-0.8.1/lib/colorize.rb
/usr/share/gems/gems/colorize-0.8.1/lib/colorize/class_methods.rb
/usr/share/gems/gems/colorize-0.8.1/lib/colorize/instance_methods.rb
/usr/share/gems/gems/colorize-0.8.1/lib/colorized_string.rb
/usr/share/gems/specifications/colorize-0.8.1.gemspec
References
Summary
In this tutorial we learn how to install rubygem-colorize
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).