How To Install rubygem-zeitwerk on Fedora 36

In this tutorial we learn how to install rubygem-zeitwerk in Fedora 36. rubygem-zeitwerk is Efficient and thread-safe constant autoloader

Introduction

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

What is rubygem-zeitwerk

Zeitwerk implements constant autoloading with Ruby semantics. Each gem and application may have their own independent autoloader, with its own configuration, inflector, and logger. Supports autoloading, preloading, reloading, and eager loading.

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

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

sudo dnf -y install rubygem-zeitwerk

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

sudo yum -y install rubygem-zeitwerk

How To Uninstall rubygem-zeitwerk on Fedora 36

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

sudo dnf remove rubygem-zeitwerk

rubygem-zeitwerk Package Contents on Fedora 36

/usr/share/gems/gems/zeitwerk-2.5.4
/usr/share/gems/gems/zeitwerk-2.5.4/MIT-LICENSE
/usr/share/gems/gems/zeitwerk-2.5.4/lib
/usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk
/usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk.rb
/usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/error.rb
/usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/explicit_namespace.rb
/usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/gem_inflector.rb
/usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/inflector.rb
/usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/kernel.rb
/usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/loader
/usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/loader.rb
/usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/loader/callbacks.rb
/usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/loader/config.rb
/usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/loader/helpers.rb
/usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/real_mod_name.rb
/usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/registry.rb
/usr/share/gems/gems/zeitwerk-2.5.4/lib/zeitwerk/version.rb
/usr/share/gems/specifications/zeitwerk-2.5.4.gemspec

References

Summary

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