How To Install rubygem-tzinfo on Fedora 36

In this tutorial we learn how to install rubygem-tzinfo in Fedora 36. rubygem-tzinfo is Daylight savings aware timezone library

Introduction

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

What is rubygem-tzinfo

TZInfo provides daylight savings aware transformations between times in different time zones.

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

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

sudo dnf -y install rubygem-tzinfo

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

sudo yum -y install rubygem-tzinfo

How To Uninstall rubygem-tzinfo on Fedora 36

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

sudo dnf remove rubygem-tzinfo

rubygem-tzinfo Package Contents on Fedora 36

/usr/share/gems/gems/tzinfo-2.0.4
/usr/share/gems/gems/tzinfo-2.0.4/LICENSE
/usr/share/gems/gems/tzinfo-2.0.4/lib
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/annual_rules.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/country.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/country_timezone.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/data_source.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/data_sources
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/data_sources.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/constant_offset_data_timezone_info.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/country_info.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/data_timezone_info.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/linked_timezone_info.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/posix_time_zone_parser.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/ruby_data_source.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/timezone_info.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/transitions_data_timezone_info.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/zoneinfo_data_source.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/data_sources/zoneinfo_reader.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/data_timezone.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/datetime_with_offset.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/format1
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/format1.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/format1/country_definer.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/format1/country_index_definition.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/format1/timezone_definer.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/format1/timezone_definition.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/format1/timezone_index_definition.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/format2
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/format2.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/format2/country_definer.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/format2/country_index_definer.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/format2/country_index_definition.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/format2/timezone_definer.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/format2/timezone_definition.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/format2/timezone_index_definer.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/format2/timezone_index_definition.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/info_timezone.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/linked_timezone.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/offset_timezone_period.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/string_deduper.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/time_with_offset.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/timestamp.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/timestamp_with_offset.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/timezone.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/timezone_offset.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/timezone_period.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/timezone_proxy.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/timezone_transition.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/transition_rule.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/transitions_timezone_period.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/untaint_ext.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/version.rb
/usr/share/gems/gems/tzinfo-2.0.4/lib/tzinfo/with_offset.rb
/usr/share/gems/specifications/tzinfo-2.0.4.gemspec

References

Summary

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