How To Install rubygem-guard-shell on Fedora 36

In this tutorial we learn how to install rubygem-guard-shell in Fedora 36. rubygem-guard-shell is Guard gem for running shell commands

Introduction

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

What is rubygem-guard-shell

Guard modified.

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

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

sudo dnf -y install rubygem-guard-shell

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

sudo yum -y install rubygem-guard-shell

How To Uninstall rubygem-guard-shell on Fedora 36

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

sudo dnf remove rubygem-guard-shell

rubygem-guard-shell Package Contents on Fedora 36

/usr/share/gems/gems/guard-shell-0.7.1
/usr/share/gems/gems/guard-shell-0.7.1/LICENSE
/usr/share/gems/gems/guard-shell-0.7.1/lib
/usr/share/gems/gems/guard-shell-0.7.1/lib/guard
/usr/share/gems/gems/guard-shell-0.7.1/lib/guard/shell
/usr/share/gems/gems/guard-shell-0.7.1/lib/guard/shell.rb
/usr/share/gems/gems/guard-shell-0.7.1/lib/guard/shell/templates
/usr/share/gems/gems/guard-shell-0.7.1/lib/guard/shell/templates/Guardfile
/usr/share/gems/gems/guard-shell-0.7.1/lib/guard/shell/version.rb
/usr/share/gems/specifications/guard-shell-0.7.1.gemspec

References

Summary

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