How To Install rubygem-sprockets on Fedora 36

In this tutorial we learn how to install rubygem-sprockets in Fedora 36. rubygem-sprockets is Rack-based asset packaging system

Introduction

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

What is rubygem-sprockets

Sprockets is a Rack-based asset packaging system that concatenates and serves JavaScript, CoffeeScript, CSS, Sass, and SCSS.

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

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

sudo dnf -y install rubygem-sprockets

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

sudo yum -y install rubygem-sprockets

How To Uninstall rubygem-sprockets on Fedora 36

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

sudo dnf remove rubygem-sprockets

rubygem-sprockets Package Contents on Fedora 36

/usr/bin/sprockets
/usr/share/gems/gems/sprockets-4.0.2
/usr/share/gems/gems/sprockets-4.0.2/bin
/usr/share/gems/gems/sprockets-4.0.2/bin/sprockets
/usr/share/gems/gems/sprockets-4.0.2/lib
/usr/share/gems/gems/sprockets-4.0.2/lib/rake
/usr/share/gems/gems/sprockets-4.0.2/lib/rake/sprocketstask.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/add_source_map_comment_to_asset_processor.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/asset.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/autoload
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/autoload.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/autoload/babel.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/autoload/closure.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/autoload/coffee_script.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/autoload/eco.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/autoload/ejs.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/autoload/jsminc.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/autoload/sass.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/autoload/sassc.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/autoload/uglifier.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/autoload/yui.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/autoload/zopfli.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/babel_processor.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/base.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/bower.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/bundle.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/cache
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/cache.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/cache/file_store.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/cache/memory_store.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/cache/null_store.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/cached_environment.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/closure_compressor.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/coffee_script_processor.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/compressing.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/configuration.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/context.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/dependencies.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/digest_utils.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/directive_processor.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/eco_processor.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/ejs_processor.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/encoding_utils.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/environment.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/erb_processor.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/errors.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/exporters
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/exporters/base.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/exporters/file_exporter.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/exporters/zlib_exporter.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/exporters/zopfli_exporter.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/exporting.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/file_reader.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/http_utils.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/jsminc_compressor.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/jst_processor.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/loader.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/manifest.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/manifest_utils.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/mime.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/npm.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/path_dependency_utils.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/path_digest_utils.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/path_utils.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/paths.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/preprocessors
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/preprocessors/default_source_map.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/processing.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/processor_utils.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/resolve.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/sass_cache_store.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/sass_compressor.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/sass_functions.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/sass_importer.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/sass_processor.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/sassc_compressor.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/sassc_processor.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/server.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/source_map_processor.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/source_map_utils.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/transformers.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/uglifier_compressor.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/unloaded_asset.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/uri_tar.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/uri_utils.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/utils
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/utils.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/utils/gzip.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/version.rb
/usr/share/gems/gems/sprockets-4.0.2/lib/sprockets/yui_compressor.rb
/usr/share/gems/specifications/sprockets-4.0.2.gemspec
/usr/share/man/man1/sprockets.1.gz

References

Summary

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