How To Install rubygem-session on Fedora 36

In this tutorial we learn how to install rubygem-session in Fedora 36. rubygem-session is Session drives external programs

Introduction

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

What is rubygem-session

Session offers a set of classes built upon Open3 external progams via pipes. It offers a significant abstraction over Open3 deliniated

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

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

sudo dnf -y install rubygem-session

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

sudo yum -y install rubygem-session

How To Uninstall rubygem-session on Fedora 36

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

sudo dnf remove rubygem-session

rubygem-session Package Contents on Fedora 36

/usr/share/gems/cache/session-3.1.0.gem
/usr/share/gems/gems/session-3.1.0
/usr/share/gems/gems/session-3.1.0/LICENSE
/usr/share/gems/gems/session-3.1.0/README
/usr/share/gems/gems/session-3.1.0/lib
/usr/share/gems/gems/session-3.1.0/lib/session.rb
/usr/share/gems/specifications/session-3.1.0.gemspec

References

Summary

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