How To Install rubygem-pastel on Fedora 36

In this tutorial we learn how to install rubygem-pastel in Fedora 36. rubygem-pastel is Terminal strings styling with intuitive and clean API

Introduction

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

What is rubygem-pastel

Terminal strings styling with intuitive and clean API.

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

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

sudo dnf -y install rubygem-pastel

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

sudo yum -y install rubygem-pastel

How To Uninstall rubygem-pastel on Fedora 36

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

sudo dnf remove rubygem-pastel

rubygem-pastel Package Contents on Fedora 36

/usr/share/gems/gems/pastel-0.8.0
/usr/share/gems/gems/pastel-0.8.0/LICENSE.txt
/usr/share/gems/gems/pastel-0.8.0/lib
/usr/share/gems/gems/pastel-0.8.0/lib/pastel
/usr/share/gems/gems/pastel-0.8.0/lib/pastel.rb
/usr/share/gems/gems/pastel-0.8.0/lib/pastel/alias_importer.rb
/usr/share/gems/gems/pastel-0.8.0/lib/pastel/ansi.rb
/usr/share/gems/gems/pastel-0.8.0/lib/pastel/color.rb
/usr/share/gems/gems/pastel-0.8.0/lib/pastel/color_parser.rb
/usr/share/gems/gems/pastel-0.8.0/lib/pastel/color_resolver.rb
/usr/share/gems/gems/pastel-0.8.0/lib/pastel/decorator_chain.rb
/usr/share/gems/gems/pastel-0.8.0/lib/pastel/delegator.rb
/usr/share/gems/gems/pastel-0.8.0/lib/pastel/detached.rb
/usr/share/gems/gems/pastel-0.8.0/lib/pastel/version.rb
/usr/share/gems/specifications/pastel-0.8.0.gemspec

References

Summary

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