How To Install rubygem-gio2 on Fedora 36

In this tutorial we learn how to install rubygem-gio2 in Fedora 36. rubygem-gio2 is Ruby binding of gio-2.0.x

Introduction

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

What is rubygem-gio2

Ruby/GIO2 is a Ruby binding of gio-2.0.x.

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

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

sudo dnf -y install rubygem-gio2

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

sudo yum -y install rubygem-gio2

How To Uninstall rubygem-gio2 on Fedora 36

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

sudo dnf remove rubygem-gio2

rubygem-gio2 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/21
/usr/lib/.build-id/21/9b25aacb9e4a8befb3ca34a25143e8d32b8056
/usr/lib64/gems/ruby/gio2-3.5.1
/usr/lib64/gems/ruby/gio2-3.5.1/gem.build_complete
/usr/lib64/gems/ruby/gio2-3.5.1/gio2.so
/usr/share/gems/gems/gio2-3.5.1
/usr/share/gems/gems/gio2-3.5.1/COPYING.LIB
/usr/share/gems/gems/gio2-3.5.1/README.md
/usr/share/gems/gems/gio2-3.5.1/lib
/usr/share/gems/gems/gio2-3.5.1/lib/gio2
/usr/share/gems/gems/gio2-3.5.1/lib/gio2.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/action-map.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/action.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/application-command-line.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/content-type.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/deprecated.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/file.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/icon.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/inet-address.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/input-stream.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/loader.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/menu-item.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/output-stream.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/pollable-input-stream.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/pollable-output-stream.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/resources.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/ruby-input-stream.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/ruby-output-stream.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/ruby-seekable.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/settings-schema-source.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/settings.rb
/usr/share/gems/gems/gio2-3.5.1/lib/gio2/simple-action.rb
/usr/share/gems/specifications/gio2-3.5.1.gemspec

References

Summary

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