How To Install rubygem-hashery on Fedora 36

In this tutorial we learn how to install rubygem-hashery in Fedora 36. rubygem-hashery is Facets-bread collection of Hash-like classes

Introduction

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

What is rubygem-hashery

The Hashery is a tight collection of Hash-like classes. Included among its many offerings are the auto-sorting Dictionary class, the efficient LRUHash, the flexible OpenHash and the convenient KeyHash. Nearly every class is a subclass of the CRUDHash which defines a CRUD model on top of Ruby’s standard Hash making it a snap to subclass and augment to fit any specific use case.

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

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

sudo dnf -y install rubygem-hashery

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

sudo yum -y install rubygem-hashery

How To Uninstall rubygem-hashery on Fedora 36

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

sudo dnf remove rubygem-hashery

rubygem-hashery Package Contents on Fedora 36

/usr/share/gems/gems/hashery-2.1.2
/usr/share/gems/gems/hashery-2.1.2/LICENSE.txt
/usr/share/gems/gems/hashery-2.1.2/lib
/usr/share/gems/gems/hashery-2.1.2/lib/hashery
/usr/share/gems/gems/hashery-2.1.2/lib/hashery.rb
/usr/share/gems/gems/hashery-2.1.2/lib/hashery.yml
/usr/share/gems/gems/hashery-2.1.2/lib/hashery/association.rb
/usr/share/gems/gems/hashery-2.1.2/lib/hashery/casting_hash.rb
/usr/share/gems/gems/hashery-2.1.2/lib/hashery/core_ext.rb
/usr/share/gems/gems/hashery-2.1.2/lib/hashery/crud_hash.rb
/usr/share/gems/gems/hashery-2.1.2/lib/hashery/dictionary.rb
/usr/share/gems/gems/hashery-2.1.2/lib/hashery/fuzzy_hash.rb
/usr/share/gems/gems/hashery-2.1.2/lib/hashery/ini_hash.rb
/usr/share/gems/gems/hashery-2.1.2/lib/hashery/key_hash.rb
/usr/share/gems/gems/hashery-2.1.2/lib/hashery/linked_list.rb
/usr/share/gems/gems/hashery-2.1.2/lib/hashery/lru_hash.rb
/usr/share/gems/gems/hashery-2.1.2/lib/hashery/open_cascade.rb
/usr/share/gems/gems/hashery-2.1.2/lib/hashery/open_hash.rb
/usr/share/gems/gems/hashery-2.1.2/lib/hashery/ordered_hash.rb
/usr/share/gems/gems/hashery-2.1.2/lib/hashery/path_hash.rb
/usr/share/gems/gems/hashery-2.1.2/lib/hashery/property_hash.rb
/usr/share/gems/gems/hashery-2.1.2/lib/hashery/query_hash.rb
/usr/share/gems/gems/hashery-2.1.2/lib/hashery/stash.rb
/usr/share/gems/gems/hashery-2.1.2/lib/hashery/static_hash.rb
/usr/share/gems/specifications/hashery-2.1.2.gemspec

References

Summary

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