How To Install rubygem-clockwork on Fedora 36

In this tutorial we learn how to install rubygem-clockwork in Fedora 36. rubygem-clockwork is A scheduler process to replace cron

Introduction

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

What is rubygem-clockwork

A scheduler process to replace cron, using a more flexible Ruby syntax running as a single long-running process. Inspired by rufus-scheduler and resque-scheduler.

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

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

sudo dnf -y install rubygem-clockwork

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

sudo yum -y install rubygem-clockwork

How To Uninstall rubygem-clockwork on Fedora 36

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

sudo dnf remove rubygem-clockwork

rubygem-clockwork Package Contents on Fedora 36

/usr/bin/clockwork
/usr/bin/clockworkd
/usr/share/gems/gems/clockwork-2.0.4
/usr/share/gems/gems/clockwork-2.0.4/LICENSE
/usr/share/gems/gems/clockwork-2.0.4/bin
/usr/share/gems/gems/clockwork-2.0.4/bin/clockwork
/usr/share/gems/gems/clockwork-2.0.4/bin/clockworkd
/usr/share/gems/gems/clockwork-2.0.4/lib
/usr/share/gems/gems/clockwork-2.0.4/lib/clockwork
/usr/share/gems/gems/clockwork-2.0.4/lib/clockwork.rb
/usr/share/gems/gems/clockwork-2.0.4/lib/clockwork/at.rb
/usr/share/gems/gems/clockwork-2.0.4/lib/clockwork/database_events
/usr/share/gems/gems/clockwork-2.0.4/lib/clockwork/database_events.rb
/usr/share/gems/gems/clockwork-2.0.4/lib/clockwork/database_events/event.rb
/usr/share/gems/gems/clockwork-2.0.4/lib/clockwork/database_events/event_collection.rb
/usr/share/gems/gems/clockwork-2.0.4/lib/clockwork/database_events/event_store.rb
/usr/share/gems/gems/clockwork-2.0.4/lib/clockwork/database_events/manager.rb
/usr/share/gems/gems/clockwork-2.0.4/lib/clockwork/database_events/synchronizer.rb
/usr/share/gems/gems/clockwork-2.0.4/lib/clockwork/event.rb
/usr/share/gems/gems/clockwork-2.0.4/lib/clockwork/manager.rb
/usr/share/gems/specifications/clockwork-2.0.4.gemspec
/usr/share/man/man1/clockworkd.1.gz

References

Summary

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