How To Install rubygem-thread_safe on Fedora 36

In this tutorial we learn how to install rubygem-thread_safe in Fedora 36. rubygem-thread_safe is Thread-safe collections and utilities for Ruby

Introduction

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

What is rubygem-thread_safe

A collection of data structures and utilities to make thread-safe programming in Ruby easier.

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

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

sudo dnf -y install rubygem-thread_safe

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

sudo yum -y install rubygem-thread_safe

How To Uninstall rubygem-thread_safe on Fedora 36

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

sudo dnf remove rubygem-thread_safe

rubygem-thread_safe Package Contents on Fedora 36

/usr/share/gems/gems/thread_safe-0.3.6
/usr/share/gems/gems/thread_safe-0.3.6/LICENSE
/usr/share/gems/gems/thread_safe-0.3.6/lib
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe.rb
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe/atomic_reference_cache_backend.rb
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe/cache.rb
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe/mri_cache_backend.rb
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe/non_concurrent_cache_backend.rb
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_cache_backend.rb
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_delegator.rb
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe/util
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe/util.rb
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe/util/adder.rb
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe/util/atomic_reference.rb
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe/util/cheap_lockable.rb
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe/util/power_of_two_tuple.rb
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe/util/striped64.rb
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile.rb
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile_tuple.rb
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe/util/xor_shift_random.rb
/usr/share/gems/gems/thread_safe-0.3.6/lib/thread_safe/version.rb
/usr/share/gems/specifications/thread_safe-0.3.6.gemspec

References

Summary

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