How To Install rubygem-guard-compat on Fedora 36

In this tutorial we learn how to install rubygem-guard-compat in Fedora 36. rubygem-guard-compat is Tools for developing Guard compatible plugins

Introduction

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

What is rubygem-guard-compat

Helps creating valid Guard plugins and testing them.

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

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

sudo dnf -y install rubygem-guard-compat

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

sudo yum -y install rubygem-guard-compat

How To Uninstall rubygem-guard-compat on Fedora 36

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

sudo dnf remove rubygem-guard-compat

rubygem-guard-compat Package Contents on Fedora 36

/usr/share/gems/gems/guard-compat-1.2.1
/usr/share/gems/gems/guard-compat-1.2.1/LICENSE.txt
/usr/share/gems/gems/guard-compat-1.2.1/lib
/usr/share/gems/gems/guard-compat-1.2.1/lib/guard
/usr/share/gems/gems/guard-compat-1.2.1/lib/guard/compat
/usr/share/gems/gems/guard-compat-1.2.1/lib/guard/compat.rb
/usr/share/gems/gems/guard-compat-1.2.1/lib/guard/compat/example.rb
/usr/share/gems/gems/guard-compat-1.2.1/lib/guard/compat/plugin.rb
/usr/share/gems/gems/guard-compat-1.2.1/lib/guard/compat/test
/usr/share/gems/gems/guard-compat-1.2.1/lib/guard/compat/test/helper.rb
/usr/share/gems/gems/guard-compat-1.2.1/lib/guard/compat/test/template.rb
/usr/share/gems/gems/guard-compat-1.2.1/lib/guard/compat/version.rb
/usr/share/gems/specifications/guard-compat-1.2.1.gemspec

References

Summary

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