How To Install rubygem-term-ansicolor on Fedora 36

In this tutorial we learn how to install rubygem-term-ansicolor in Fedora 36. rubygem-term-ansicolor is Ruby library that colors strings using ANSI escape sequences

Introduction

In this tutorial we learn how to install rubygem-term-ansicolor on Fedora 36.

What is rubygem-term-ansicolor

This library uses ANSI escape sequences to control the attributes of terminal output.

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

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

sudo dnf -y install rubygem-term-ansicolor

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

sudo yum -y install rubygem-term-ansicolor

How To Uninstall rubygem-term-ansicolor on Fedora 36

To uninstall only the rubygem-term-ansicolor package we can use the following command:

sudo dnf remove rubygem-term-ansicolor

rubygem-term-ansicolor Package Contents on Fedora 36

/usr/bin/term_cdiff
/usr/bin/term_colortab
/usr/bin/term_decolor
/usr/bin/term_display
/usr/bin/term_mandel
/usr/bin/term_snow
/usr/share/gems/gems/term-ansicolor-1.7.1
/usr/share/gems/gems/term-ansicolor-1.7.1/COPYING
/usr/share/gems/gems/term-ansicolor-1.7.1/bin
/usr/share/gems/gems/term-ansicolor-1.7.1/bin/term_cdiff
/usr/share/gems/gems/term-ansicolor-1.7.1/bin/term_colortab
/usr/share/gems/gems/term-ansicolor-1.7.1/bin/term_decolor
/usr/share/gems/gems/term-ansicolor-1.7.1/bin/term_display
/usr/share/gems/gems/term-ansicolor-1.7.1/bin/term_mandel
/usr/share/gems/gems/term-ansicolor-1.7.1/bin/term_snow
/usr/share/gems/gems/term-ansicolor-1.7.1/lib
/usr/share/gems/gems/term-ansicolor-1.7.1/lib/term
/usr/share/gems/gems/term-ansicolor-1.7.1/lib/term/ansicolor
/usr/share/gems/gems/term-ansicolor-1.7.1/lib/term/ansicolor.rb
/usr/share/gems/gems/term-ansicolor-1.7.1/lib/term/ansicolor/attribute
/usr/share/gems/gems/term-ansicolor-1.7.1/lib/term/ansicolor/attribute.rb
/usr/share/gems/gems/term-ansicolor-1.7.1/lib/term/ansicolor/attribute/color256.rb
/usr/share/gems/gems/term-ansicolor-1.7.1/lib/term/ansicolor/attribute/color8.rb
/usr/share/gems/gems/term-ansicolor-1.7.1/lib/term/ansicolor/attribute/intense_color8.rb
/usr/share/gems/gems/term-ansicolor-1.7.1/lib/term/ansicolor/attribute/text.rb
/usr/share/gems/gems/term-ansicolor-1.7.1/lib/term/ansicolor/hsl_triple.rb
/usr/share/gems/gems/term-ansicolor-1.7.1/lib/term/ansicolor/movement.rb
/usr/share/gems/gems/term-ansicolor-1.7.1/lib/term/ansicolor/ppm_reader.rb
/usr/share/gems/gems/term-ansicolor-1.7.1/lib/term/ansicolor/rgb_color_metrics.rb
/usr/share/gems/gems/term-ansicolor-1.7.1/lib/term/ansicolor/rgb_triple.rb
/usr/share/gems/gems/term-ansicolor-1.7.1/lib/term/ansicolor/version.rb
/usr/share/gems/specifications/term-ansicolor-1.7.1.gemspec

References

Summary

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