How To Install rubygem-slim on Fedora 36

In this tutorial we learn how to install rubygem-slim in Fedora 36. rubygem-slim is Slim is a template language

Introduction

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

What is rubygem-slim

Slim is a template language whose goal is reduce the syntax to the essential parts without becoming cryptic.

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

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

sudo dnf -y install rubygem-slim

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

sudo yum -y install rubygem-slim

How To Uninstall rubygem-slim on Fedora 36

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

sudo dnf remove rubygem-slim

rubygem-slim Package Contents on Fedora 36

/usr/bin/slimrb
/usr/share/gems/gems/slim-4.1.0
/usr/share/gems/gems/slim-4.1.0/LICENSE
/usr/share/gems/gems/slim-4.1.0/bin
/usr/share/gems/gems/slim-4.1.0/bin/slimrb
/usr/share/gems/gems/slim-4.1.0/lib
/usr/share/gems/gems/slim-4.1.0/lib/slim
/usr/share/gems/gems/slim-4.1.0/lib/slim.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/code_attributes.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/command.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/controls.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/do_inserter.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/embedded.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/end_inserter.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/engine.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/erb_converter.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/filter.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/grammar.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/include.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/interpolation.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/logic_less
/usr/share/gems/gems/slim-4.1.0/lib/slim/logic_less.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/logic_less/context.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/logic_less/filter.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/parser.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/smart
/usr/share/gems/gems/slim-4.1.0/lib/slim/smart.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/smart/escaper.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/smart/filter.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/smart/parser.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/splat
/usr/share/gems/gems/slim-4.1.0/lib/slim/splat/builder.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/splat/filter.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/template.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/translator.rb
/usr/share/gems/gems/slim-4.1.0/lib/slim/version.rb
/usr/share/gems/specifications/slim-4.1.0.gemspec

References

Summary

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