How To Install ruby-yui on Fedora 36

In this tutorial we learn how to install ruby-yui in Fedora 36. ruby-yui is Ruby bindings for libyui

Introduction

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

What is ruby-yui

This package provides Ruby language bindings to access functions of libyui, the YaST User Interface engine that provides the abstraction from graphical user interfaces (Qt, Gtk) and text based user interfaces (ncurses).

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

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

sudo dnf -y install ruby-yui

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

sudo yum -y install ruby-yui

How To Uninstall ruby-yui on Fedora 36

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

sudo dnf remove ruby-yui

ruby-yui Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/4e3ea2d288cdf2cab206868090b84cdd4237f9
/usr/lib64/ruby/vendor_ruby/_yui.so
/usr/share/doc/ruby-yui
/usr/share/doc/ruby-yui/_loadpath.rb
/usr/share/doc/ruby-yui/combo_box1.rb
/usr/share/doc/ruby-yui/hello_world.rb
/usr/share/doc/ruby-yui/loading.rb
/usr/share/doc/ruby-yui/selection_box1.rb
/usr/share/doc/ruby-yui/selection_box2.rb
/usr/share/doc/ruby-yui/selection_box3.rb

References

Summary

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