How To Install rubygem-hiredis on Fedora 36

In this tutorial we learn how to install rubygem-hiredis in Fedora 36. rubygem-hiredis is Ruby wrapper for hiredis

Introduction

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

What is rubygem-hiredis

Ruby wrapper for hiredis (protocol serialization/deserialization and blocking I/O).

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

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

sudo dnf -y install rubygem-hiredis

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

sudo yum -y install rubygem-hiredis

How To Uninstall rubygem-hiredis on Fedora 36

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

sudo dnf remove rubygem-hiredis

rubygem-hiredis Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/35697865edbbcb784587d74de16df1767e62bf
/usr/lib64/gems/ruby/hiredis-0.6.3
/usr/lib64/gems/ruby/hiredis-0.6.3/gem.build_complete
/usr/lib64/gems/ruby/hiredis-0.6.3/hiredis
/usr/lib64/gems/ruby/hiredis-0.6.3/hiredis/ext
/usr/lib64/gems/ruby/hiredis-0.6.3/hiredis/ext/hiredis_ext.so
/usr/share/gems/gems/hiredis-0.6.3
/usr/share/gems/gems/hiredis-0.6.3/COPYING
/usr/share/gems/gems/hiredis-0.6.3/lib
/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis
/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis.rb
/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/connection.rb
/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/ext
/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/ext/connection.rb
/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/ext/reader.rb
/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/reader.rb
/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/ruby
/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/ruby/connection.rb
/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/ruby/reader.rb
/usr/share/gems/gems/hiredis-0.6.3/lib/hiredis/version.rb
/usr/share/gems/specifications/hiredis-0.6.3.gemspec

References

Summary

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