How To Install rubygem-ncursesw on Fedora 36

In this tutorial we learn how to install rubygem-ncursesw in Fedora 36. rubygem-ncursesw is Ruby wrapper for the ncurses library, with wide character support

Introduction

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

What is rubygem-ncursesw

This wrapper provides access to the functions, macros, global variables and constants of the ncurses library. These are mapped to a Ruby module named “Ncurses”. Functions and external variables are implemented as singleton functions of the module Ncurses. The ncursesw gem is a fork with improved wide character support.

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

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

sudo dnf -y install rubygem-ncursesw

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

sudo yum -y install rubygem-ncursesw

How To Uninstall rubygem-ncursesw on Fedora 36

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

sudo dnf remove rubygem-ncursesw

rubygem-ncursesw Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/34bc383b5e74befa5fb8c12ca377f46ac01be3
/usr/lib64/gems/ruby/ncursesw-1.4.10
/usr/lib64/gems/ruby/ncursesw-1.4.10/gem.build_complete
/usr/lib64/gems/ruby/ncursesw-1.4.10/ncursesw_bin.so
/usr/share/doc/rubygem-ncursesw
/usr/share/doc/rubygem-ncursesw/Changes
/usr/share/doc/rubygem-ncursesw/README.md
/usr/share/doc/rubygem-ncursesw/THANKS
/usr/share/doc/rubygem-ncursesw/TODO
/usr/share/gems/gems/ncursesw-1.4.10
/usr/share/gems/gems/ncursesw-1.4.10/lib
/usr/share/gems/gems/ncursesw-1.4.10/lib/ncurses_sugar.rb
/usr/share/gems/gems/ncursesw-1.4.10/lib/ncursesw.rb
/usr/share/gems/specifications/ncursesw-1.4.10.gemspec
/usr/share/licenses/rubygem-ncursesw
/usr/share/licenses/rubygem-ncursesw/COPYING

References

Summary

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