How To Install rubygem-colorator on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-colorator
on Fedora 36.
What is rubygem-colorator
Colorize your text in the terminal. There are a bunch of gems that provide functionality like this, but none have as simple an API as this. Just call “string”.color and your text will be colorized.
We can use yum
or dnf
to install rubygem-colorator
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-colorator.
Install rubygem-colorator 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-colorator
using dnf
by running the following command:
sudo dnf -y install rubygem-colorator
Install rubygem-colorator 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-colorator
using yum
by running the following command:
sudo yum -y install rubygem-colorator
How To Uninstall rubygem-colorator on Fedora 36
To uninstall only the rubygem-colorator
package we can use the following command:
sudo dnf remove rubygem-colorator
rubygem-colorator Package Contents on Fedora 36
/usr/share/doc/rubygem-colorator
/usr/share/doc/rubygem-colorator/History.markdown
/usr/share/doc/rubygem-colorator/README.markdown
/usr/share/gems/gems/colorator-1.1.0
/usr/share/gems/gems/colorator-1.1.0/Gemfile
/usr/share/gems/gems/colorator-1.1.0/lib
/usr/share/gems/gems/colorator-1.1.0/lib/colorator
/usr/share/gems/gems/colorator-1.1.0/lib/colorator.rb
/usr/share/gems/gems/colorator-1.1.0/lib/colorator/core_ext.rb
/usr/share/gems/specifications/colorator-1.1.0.gemspec
/usr/share/licenses/rubygem-colorator
/usr/share/licenses/rubygem-colorator/LICENSE
References
Summary
In this tutorial we learn how to install rubygem-colorator
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).