How To Install rubygem-ruby-rc4 on Fedora 36

In this tutorial we learn how to install rubygem-ruby-rc4 in Fedora 36. rubygem-ruby-rc4 is Pure Ruby implementation of the RC4 algorithm

Introduction

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

What is rubygem-ruby-rc4

RubyRC4 is a pure Ruby implementation of the RC4 algorithm.

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

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

sudo dnf -y install rubygem-ruby-rc4

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

sudo yum -y install rubygem-ruby-rc4

How To Uninstall rubygem-ruby-rc4 on Fedora 36

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

sudo dnf remove rubygem-ruby-rc4

rubygem-ruby-rc4 Package Contents on Fedora 36

/usr/share/gems/gems/ruby-rc4-0.1.5
/usr/share/gems/gems/ruby-rc4-0.1.5/lib
/usr/share/gems/gems/ruby-rc4-0.1.5/lib/rc4.rb
/usr/share/gems/specifications/ruby-rc4-0.1.5.gemspec
/usr/share/licenses/rubygem-ruby-rc4
/usr/share/licenses/rubygem-ruby-rc4/LICENSE

References

Summary

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