How To Install rubygem-rb-readline on Fedora 36

In this tutorial we learn how to install rubygem-rb-readline in Fedora 36. rubygem-rb-readline is Pure-Ruby Readline Implementation

Introduction

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

What is rubygem-rb-readline

The readline library provides a pure Ruby implementation of the GNU readline C library, as well as the Readline extension that ships as part of the standard library.

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

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

sudo dnf -y install rubygem-rb-readline

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

sudo yum -y install rubygem-rb-readline

How To Uninstall rubygem-rb-readline on Fedora 36

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

sudo dnf remove rubygem-rb-readline

rubygem-rb-readline Package Contents on Fedora 36

/usr/share/gems/gems/rb-readline-0.5.5
/usr/share/gems/gems/rb-readline-0.5.5/LICENSE
/usr/share/gems/gems/rb-readline-0.5.5/README.md
/usr/share/gems/gems/rb-readline-0.5.5/lib
/usr/share/gems/gems/rb-readline-0.5.5/lib/rb-readline.rb
/usr/share/gems/gems/rb-readline-0.5.5/lib/rbreadline
/usr/share/gems/gems/rb-readline-0.5.5/lib/rbreadline.rb
/usr/share/gems/gems/rb-readline-0.5.5/lib/rbreadline/version.rb
/usr/share/gems/gems/rb-readline-0.5.5/lib/readline.rb
/usr/share/gems/specifications/rb-readline-0.5.5.gemspec

References

Summary

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