How To Install rubygem-tty-color on Fedora 36

In this tutorial we learn how to install rubygem-tty-color in Fedora 36. rubygem-tty-color is Terminal color capabilities detection

Introduction

In this tutorial we learn how to install rubygem-tty-color on Fedora 36.

What is rubygem-tty-color

Terminal color capabilities detection.

We can use yum or dnf to install rubygem-tty-color on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-tty-color.

Install rubygem-tty-color 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-tty-color using dnf by running the following command:

sudo dnf -y install rubygem-tty-color

Install rubygem-tty-color 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-tty-color using yum by running the following command:

sudo yum -y install rubygem-tty-color

How To Uninstall rubygem-tty-color on Fedora 36

To uninstall only the rubygem-tty-color package we can use the following command:

sudo dnf remove rubygem-tty-color

rubygem-tty-color Package Contents on Fedora 36

/usr/share/gems/gems/tty-color-0.6.0
/usr/share/gems/gems/tty-color-0.6.0/LICENSE.txt
/usr/share/gems/gems/tty-color-0.6.0/lib
/usr/share/gems/gems/tty-color-0.6.0/lib/tty
/usr/share/gems/gems/tty-color-0.6.0/lib/tty-color.rb
/usr/share/gems/gems/tty-color-0.6.0/lib/tty/color
/usr/share/gems/gems/tty-color-0.6.0/lib/tty/color.rb
/usr/share/gems/gems/tty-color-0.6.0/lib/tty/color/mode.rb
/usr/share/gems/gems/tty-color-0.6.0/lib/tty/color/support.rb
/usr/share/gems/gems/tty-color-0.6.0/lib/tty/color/version.rb
/usr/share/gems/specifications/tty-color-0.6.0.gemspec

References

Summary

In this tutorial we learn how to install rubygem-tty-color on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).