How To Install rubygem-shellany on Fedora 36

In this tutorial we learn how to install rubygem-shellany in Fedora 36. rubygem-shellany is Simple, somewhat portable command capturing

Introduction

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

What is rubygem-shellany

MRI+JRuby compatible command output capturing.

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

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

sudo dnf -y install rubygem-shellany

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

sudo yum -y install rubygem-shellany

How To Uninstall rubygem-shellany on Fedora 36

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

sudo dnf remove rubygem-shellany

rubygem-shellany Package Contents on Fedora 36

/usr/share/gems/gems/shellany-0.0.1
/usr/share/gems/gems/shellany-0.0.1/LICENSE.txt
/usr/share/gems/gems/shellany-0.0.1/README.md
/usr/share/gems/gems/shellany-0.0.1/lib
/usr/share/gems/gems/shellany-0.0.1/lib/shellany
/usr/share/gems/gems/shellany-0.0.1/lib/shellany.rb
/usr/share/gems/gems/shellany-0.0.1/lib/shellany/sheller.rb
/usr/share/gems/gems/shellany-0.0.1/lib/shellany/version.rb
/usr/share/gems/specifications/shellany-0.0.1.gemspec

References

Summary

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