How To Install rubygem-delorean on Fedora 36

In this tutorial we learn how to install rubygem-delorean in Fedora 36. rubygem-delorean is Delorean lets you travel in time with Ruby by mocking Time.now

Introduction

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

What is rubygem-delorean

Delorean lets you travel in time with Ruby by mocking Time.now.

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

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

sudo dnf -y install rubygem-delorean

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

sudo yum -y install rubygem-delorean

How To Uninstall rubygem-delorean on Fedora 36

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

sudo dnf remove rubygem-delorean

rubygem-delorean Package Contents on Fedora 36

/usr/share/gems/gems/delorean-2.1.0
/usr/share/gems/gems/delorean-2.1.0/MIT-LICENSE
/usr/share/gems/gems/delorean-2.1.0/lib
/usr/share/gems/gems/delorean-2.1.0/lib/delorean.rb
/usr/share/gems/gems/delorean-2.1.0/lib/flux_capacitor.rb
/usr/share/gems/specifications/delorean-2.1.0.gemspec

References

Summary

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