How To Install rubygem-redis on Fedora 36

In this tutorial we learn how to install rubygem-redis in Fedora 36. rubygem-redis is A Ruby client library for Redis

Introduction

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

What is rubygem-redis

A Ruby client that tries to match Redis’ API one-to-one, while still providing an idiomatic interface.

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

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

sudo dnf -y install rubygem-redis

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

sudo yum -y install rubygem-redis

How To Uninstall rubygem-redis on Fedora 36

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

sudo dnf remove rubygem-redis

rubygem-redis Package Contents on Fedora 36

/usr/share/gems/gems/redis-4.3.1
/usr/share/gems/gems/redis-4.3.1/LICENSE
/usr/share/gems/gems/redis-4.3.1/lib
/usr/share/gems/gems/redis-4.3.1/lib/redis
/usr/share/gems/gems/redis-4.3.1/lib/redis.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/client.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/cluster
/usr/share/gems/gems/redis-4.3.1/lib/redis/cluster.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/cluster/command.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/cluster/command_loader.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/cluster/key_slot_converter.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/cluster/node.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/cluster/node_key.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/cluster/node_loader.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/cluster/option.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/cluster/slot.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/cluster/slot_loader.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/connection
/usr/share/gems/gems/redis-4.3.1/lib/redis/connection.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/connection/command_helper.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/connection/hiredis.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/connection/registry.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/connection/ruby.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/connection/synchrony.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/distributed.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/errors.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/hash_ring.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/pipeline.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/subscribe.rb
/usr/share/gems/gems/redis-4.3.1/lib/redis/version.rb
/usr/share/gems/specifications/redis-4.3.1.gemspec

References

Summary

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