How To Install rubygem-hashr on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-hashr
on Fedora 36.
What is rubygem-hashr
Simple Hash extension to make working with nested hashes (e.g. for configuration) easier and less error-prone.
We can use yum
or dnf
to install rubygem-hashr
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-hashr.
Install rubygem-hashr 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-hashr
using dnf
by running the following command:
sudo dnf -y install rubygem-hashr
Install rubygem-hashr 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-hashr
using yum
by running the following command:
sudo yum -y install rubygem-hashr
How To Uninstall rubygem-hashr on Fedora 36
To uninstall only the rubygem-hashr
package we can use the following command:
sudo dnf remove rubygem-hashr
rubygem-hashr Package Contents on Fedora 36
/usr/share/gems/gems/hashr-2.0.1
/usr/share/gems/gems/hashr-2.0.1/MIT-LICENSE
/usr/share/gems/gems/hashr-2.0.1/lib
/usr/share/gems/gems/hashr-2.0.1/lib/hashr
/usr/share/gems/gems/hashr-2.0.1/lib/hashr.rb
/usr/share/gems/gems/hashr-2.0.1/lib/hashr/core_ext
/usr/share/gems/gems/hashr-2.0.1/lib/hashr/core_ext/ruby
/usr/share/gems/gems/hashr-2.0.1/lib/hashr/core_ext/ruby/hash.rb
/usr/share/gems/gems/hashr-2.0.1/lib/hashr/delegate
/usr/share/gems/gems/hashr-2.0.1/lib/hashr/delegate/conditional.rb
/usr/share/gems/gems/hashr-2.0.1/lib/hashr/delegate/hash.rb
/usr/share/gems/gems/hashr-2.0.1/lib/hashr/env.rb
/usr/share/gems/gems/hashr-2.0.1/lib/hashr/version.rb
/usr/share/gems/specifications/hashr-2.0.1.gemspec
References
Summary
In this tutorial we learn how to install rubygem-hashr
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).