How To Install rubygem-gobject-introspection on Fedora 36

In this tutorial we learn how to install rubygem-gobject-introspection in Fedora 36. rubygem-gobject-introspection is Ruby binding of GObjectIntrospection

Introduction

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

What is rubygem-gobject-introspection

Ruby/GObjectIntrospection is a Ruby binding of GObjectIntrospection.

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

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

sudo dnf -y install rubygem-gobject-introspection

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

sudo yum -y install rubygem-gobject-introspection

How To Uninstall rubygem-gobject-introspection on Fedora 36

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

sudo dnf remove rubygem-gobject-introspection

rubygem-gobject-introspection Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/305e1df2828941eb05fbbda79827a41f0adc12
/usr/lib64/gems/ruby/gobject-introspection-3.5.1
/usr/lib64/gems/ruby/gobject-introspection-3.5.1/gem.build_complete
/usr/lib64/gems/ruby/gobject-introspection-3.5.1/gobject_introspection.so
/usr/share/gems/gems/gobject-introspection-3.5.1
/usr/share/gems/gems/gobject-introspection-3.5.1/COPYING.LIB
/usr/share/gems/gems/gobject-introspection-3.5.1/README.md
/usr/share/gems/gems/gobject-introspection-3.5.1/lib
/usr/share/gems/gems/gobject-introspection-3.5.1/lib/gi.rb
/usr/share/gems/gems/gobject-introspection-3.5.1/lib/gobject-introspection
/usr/share/gems/gems/gobject-introspection-3.5.1/lib/gobject-introspection.rb
/usr/share/gems/gems/gobject-introspection-3.5.1/lib/gobject-introspection/arg-info.rb
/usr/share/gems/gems/gobject-introspection-3.5.1/lib/gobject-introspection/boxed-info.rb
/usr/share/gems/gems/gobject-introspection-3.5.1/lib/gobject-introspection/callable-info.rb
/usr/share/gems/gems/gobject-introspection-3.5.1/lib/gobject-introspection/collection-reader.rb
/usr/share/gems/gems/gobject-introspection-3.5.1/lib/gobject-introspection/function-info.rb
/usr/share/gems/gems/gobject-introspection-3.5.1/lib/gobject-introspection/interface-info.rb
/usr/share/gems/gems/gobject-introspection-3.5.1/lib/gobject-introspection/loader.rb
/usr/share/gems/gems/gobject-introspection-3.5.1/lib/gobject-introspection/object-info.rb
/usr/share/gems/gems/gobject-introspection-3.5.1/lib/gobject-introspection/registered-type-info.rb
/usr/share/gems/gems/gobject-introspection-3.5.1/lib/gobject-introspection/repository.rb
/usr/share/gems/gems/gobject-introspection-3.5.1/lib/gobject-introspection/struct-info.rb
/usr/share/gems/gems/gobject-introspection-3.5.1/lib/gobject-introspection/type-info.rb
/usr/share/gems/gems/gobject-introspection-3.5.1/lib/gobject-introspection/type-tag.rb
/usr/share/gems/gems/gobject-introspection-3.5.1/lib/gobject-introspection/union-info.rb
/usr/share/gems/gems/gobject-introspection-3.5.1/lib/gobject-introspection/version.rb
/usr/share/gems/specifications/gobject-introspection-3.5.1.gemspec

References

Summary

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