How To Install rubygem-ruby-libvirt on Fedora 36

In this tutorial we learn how to install rubygem-ruby-libvirt in Fedora 36. rubygem-ruby-libvirt is Ruby bindings for LIBVIRT

Introduction

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

What is rubygem-ruby-libvirt

Ruby bindings for libvirt.

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

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

sudo dnf -y install rubygem-ruby-libvirt

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

sudo yum -y install rubygem-ruby-libvirt

How To Uninstall rubygem-ruby-libvirt on Fedora 36

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

sudo dnf remove rubygem-ruby-libvirt

rubygem-ruby-libvirt Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/59
/usr/lib/.build-id/59/1f8086757c4068ab406ca2959c6de09d6c6a03
/usr/lib64/gems/ruby/ruby-libvirt-0.7.1
/usr/lib64/gems/ruby/ruby-libvirt-0.7.1/_libvirt.so
/usr/lib64/gems/ruby/ruby-libvirt-0.7.1/gem.build_complete
/usr/share/gems/gems/ruby-libvirt-0.7.1
/usr/share/gems/gems/ruby-libvirt-0.7.1/COPYING
/usr/share/gems/gems/ruby-libvirt-0.7.1/lib
/usr/share/gems/gems/ruby-libvirt-0.7.1/lib/libvirt.rb
/usr/share/gems/specifications/ruby-libvirt-0.7.1.gemspec

References

Summary

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