How To Install rubygem-bootsnap on Fedora 36

In this tutorial we learn how to install rubygem-bootsnap in Fedora 36. rubygem-bootsnap is Boot large ruby/rails apps faster

Introduction

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

What is rubygem-bootsnap

Bootsnap is a library that plugs into Ruby, with optional support for ActiveSupport and YAML, to optimize and cache expensive computations.

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

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

sudo dnf -y install rubygem-bootsnap

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

sudo yum -y install rubygem-bootsnap

How To Uninstall rubygem-bootsnap on Fedora 36

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

sudo dnf remove rubygem-bootsnap

rubygem-bootsnap Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/bc6e3219291aaf526871aeabf436f57b89b92b
/usr/lib64/gems/ruby/bootsnap-1.4.7
/usr/lib64/gems/ruby/bootsnap-1.4.7/bootsnap
/usr/lib64/gems/ruby/bootsnap-1.4.7/bootsnap/bootsnap.so
/usr/lib64/gems/ruby/bootsnap-1.4.7/gem.build_complete
/usr/share/gems/gems/bootsnap-1.4.7
/usr/share/gems/gems/bootsnap-1.4.7/LICENSE.txt
/usr/share/gems/gems/bootsnap-1.4.7/lib
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap.rb
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/bundler.rb
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/compile_cache
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/compile_cache.rb
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/compile_cache/iseq.rb
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/compile_cache/yaml.rb
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/explicit_require.rb
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache.rb
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/cache.rb
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/change_observer.rb
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/active_support.rb
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/core_ext/loaded_features.rb
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/loaded_features_index.rb
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/path.rb
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/path_scanner.rb
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/realpath_cache.rb
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/load_path_cache/store.rb
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/setup.rb
/usr/share/gems/gems/bootsnap-1.4.7/lib/bootsnap/version.rb
/usr/share/gems/specifications/bootsnap-1.4.7.gemspec

References

Summary

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