How To Install rubygem-ruby-dbus on Fedora 36

In this tutorial we learn how to install rubygem-ruby-dbus in Fedora 36. rubygem-ruby-dbus is Ruby module for interaction with D-Bus

Introduction

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

What is rubygem-ruby-dbus

Pure Ruby module for interaction with D-Bus IPC system.

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

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

sudo dnf -y install rubygem-ruby-dbus

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

sudo yum -y install rubygem-ruby-dbus

How To Uninstall rubygem-ruby-dbus on Fedora 36

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

sudo dnf remove rubygem-ruby-dbus

rubygem-ruby-dbus Package Contents on Fedora 36

/usr/share/gems/gems/ruby-dbus-0.16.0
/usr/share/gems/gems/ruby-dbus-0.16.0/COPYING
/usr/share/gems/gems/ruby-dbus-0.16.0/lib
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/api_options.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/auth.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/bus.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/bus_name.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/core_ext
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/core_ext/class
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/core_ext/class/attribute.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/core_ext/module
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/core_ext/module/redefine_method.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/error.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/introspect.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/logger.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/marshall.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/matchrule.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/message.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/message_queue.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/object.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/object_path.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/proxy_object.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/proxy_object_factory.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/proxy_object_interface.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/type.rb
/usr/share/gems/gems/ruby-dbus-0.16.0/lib/dbus/xml.rb
/usr/share/gems/specifications/ruby-dbus-0.16.0.gemspec

References

Summary

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