How To Install rubygem-ref on Fedora 36
Introduction
In this tutorial we learn how to install rubygem-ref
on Fedora 36.
What is rubygem-ref
Library that implements weak, soft, and strong references in Ruby that work across multiple runtimes (MRI,Jruby and Rubinius). Also includes implementation of maps/hashes that use references and a reference queue.
We can use yum
or dnf
to install rubygem-ref
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-ref.
Install rubygem-ref 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-ref
using dnf
by running the following command:
sudo dnf -y install rubygem-ref
Install rubygem-ref 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-ref
using yum
by running the following command:
sudo yum -y install rubygem-ref
How To Uninstall rubygem-ref on Fedora 36
To uninstall only the rubygem-ref
package we can use the following command:
sudo dnf remove rubygem-ref
rubygem-ref Package Contents on Fedora 36
/usr/share/gems/gems/ref-2.0.0
/usr/share/gems/gems/ref-2.0.0/MIT_LICENSE
/usr/share/gems/gems/ref-2.0.0/lib
/usr/share/gems/gems/ref-2.0.0/lib/ref
/usr/share/gems/gems/ref-2.0.0/lib/ref.rb
/usr/share/gems/gems/ref-2.0.0/lib/ref/abstract_reference_key_map.rb
/usr/share/gems/gems/ref-2.0.0/lib/ref/abstract_reference_value_map.rb
/usr/share/gems/gems/ref-2.0.0/lib/ref/reference.rb
/usr/share/gems/gems/ref-2.0.0/lib/ref/reference_queue.rb
/usr/share/gems/gems/ref-2.0.0/lib/ref/soft_key_map.rb
/usr/share/gems/gems/ref-2.0.0/lib/ref/soft_reference.rb
/usr/share/gems/gems/ref-2.0.0/lib/ref/soft_value_map.rb
/usr/share/gems/gems/ref-2.0.0/lib/ref/strong_reference.rb
/usr/share/gems/gems/ref-2.0.0/lib/ref/version.rb
/usr/share/gems/gems/ref-2.0.0/lib/ref/weak_key_map.rb
/usr/share/gems/gems/ref-2.0.0/lib/ref/weak_reference
/usr/share/gems/gems/ref-2.0.0/lib/ref/weak_reference.rb
/usr/share/gems/gems/ref-2.0.0/lib/ref/weak_reference/pure_ruby.rb
/usr/share/gems/gems/ref-2.0.0/lib/ref/weak_reference/weak_ref.rb
/usr/share/gems/gems/ref-2.0.0/lib/ref/weak_value_map.rb
/usr/share/gems/specifications/ref-2.0.0.gemspec
References
Summary
In this tutorial we learn how to install rubygem-ref
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).