How To Install rubygem-chronic on Fedora 36

In this tutorial we learn how to install rubygem-chronic in Fedora 36. rubygem-chronic is A natural language date parser

Introduction

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

What is rubygem-chronic

Chronic is a natural language date/time parser written in pure Ruby.

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

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

sudo dnf -y install rubygem-chronic

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

sudo yum -y install rubygem-chronic

How To Uninstall rubygem-chronic on Fedora 36

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

sudo dnf remove rubygem-chronic

rubygem-chronic Package Contents on Fedora 36

/usr/share/gems/gems/chronic-0.10.2
/usr/share/gems/gems/chronic-0.10.2/LICENSE
/usr/share/gems/gems/chronic-0.10.2/lib
/usr/share/gems/gems/chronic-0.10.2/lib/chronic
/usr/share/gems/gems/chronic-0.10.2/lib/chronic.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/date.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/grabber.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/handler.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/handlers.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/mini_date.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/numerizer.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/ordinal.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/parser.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/pointer.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/repeater.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/repeaters
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_day.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_day_name.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_day_portion.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_fortnight.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_hour.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_minute.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_month.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_month_name.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_season.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_season_name.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_second.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_time.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_week.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_weekday.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_weekend.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/repeaters/repeater_year.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/scalar.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/season.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/separator.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/sign.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/span.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/tag.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/time.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/time_zone.rb
/usr/share/gems/gems/chronic-0.10.2/lib/chronic/token.rb
/usr/share/gems/specifications/chronic-0.10.2.gemspec

References

Summary

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