How To Install rubygem-webkit2-gtk on Fedora 36

In this tutorial we learn how to install rubygem-webkit2-gtk in Fedora 36. rubygem-webkit2-gtk is Ruby binding of WebKit2GTK+

Introduction

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

What is rubygem-webkit2-gtk

Ruby/WebKit2GTK is a Ruby binding of WebKit2GTK+.

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

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

sudo dnf -y install rubygem-webkit2-gtk

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

sudo yum -y install rubygem-webkit2-gtk

How To Uninstall rubygem-webkit2-gtk on Fedora 36

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

sudo dnf remove rubygem-webkit2-gtk

rubygem-webkit2-gtk Package Contents on Fedora 36

/usr/share/gems/gems/webkit2-gtk-3.5.1
/usr/share/gems/gems/webkit2-gtk-3.5.1/COPYING.LIB
/usr/share/gems/gems/webkit2-gtk-3.5.1/README.md
/usr/share/gems/gems/webkit2-gtk-3.5.1/lib
/usr/share/gems/gems/webkit2-gtk-3.5.1/lib/webkit2-gtk
/usr/share/gems/gems/webkit2-gtk-3.5.1/lib/webkit2-gtk.rb
/usr/share/gems/gems/webkit2-gtk-3.5.1/lib/webkit2-gtk/loader.rb
/usr/share/gems/gems/webkit2-gtk-3.5.1/lib/webkit2-gtk/version.rb
/usr/share/gems/gems/webkit2-gtk-3.5.1/lib/webkit2-gtk/web-context.rb
/usr/share/gems/gems/webkit2-gtk-3.5.1/lib/webkit2-gtk/web-view.rb
/usr/share/gems/specifications/webkit2-gtk-3.5.1.gemspec

References

Summary

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