How To Install rubygem-io-console on CentOS 8

rubygem-io-console is IO/Console is a simple console utilizing library IO/Console is a simple console utilizing library

Introduction

In this tutorial we learn how to install rubygem-io-console on CentOS 8.

What is rubygem-io-console

IO/Console provides very simple and portable access to console. It doesn’t provide higher layer features, such like curses and readline. rubygem-io-console 0.4.6 107.module_el8.4.0+847+ee687b6c x86_64 67 k ruby-2.5.9-107.module_el8.4.0+847+ee687b6c.src.rpm appstream IO/Console is a simple console utilizing library http (Ruby or BSD) and Public Domain and MIT and CC0 and zlib and UCD IO/Console provides very simple and portable access to console. It doesn’t provide higher layer features, such like curses and readline.

We can use yum or dnf to install rubygem-io-console on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-io-console.

Install rubygem-io-console on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install rubygem-io-console using dnf by running the following command:

sudo dnf -y install rubygem-io-console

Install rubygem-io-console on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install rubygem-io-console using yum by running the following command:

sudo yum -y install rubygem-io-console

How To Uninstall rubygem-io-console on CentOS 8

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

sudo dnf remove rubygem-io-console

rubygem-io-console Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/bd62ef7d94953b530d17b4fdced857255da31c
/usr/lib/gems/ruby/io-console-0.4.6
/usr/lib/gems/ruby/io-console-0.4.6/io
/usr/lib/gems/ruby/io-console-0.4.6/io/console.so
/usr/lib/ruby/io/console.so
/usr/share/gems/gems/io-console-0.4.6
/usr/share/gems/gems/io-console-0.4.6/lib
/usr/share/gems/gems/io-console-0.4.6/lib/io
/usr/share/gems/gems/io-console-0.4.6/lib/io/console
/usr/share/gems/gems/io-console-0.4.6/lib/io/console/size.rb
/usr/share/gems/specifications/io-console-0.4.6.gemspec
/usr/share/ruby/io
/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/4b20f122a15d6bbb2a76911c96e30e91f8ab55
/usr/lib64/gems/ruby/io-console-0.4.6
/usr/lib64/gems/ruby/io-console-0.4.6/io
/usr/lib64/gems/ruby/io-console-0.4.6/io/console.so
/usr/lib64/ruby/io/console.so
/usr/share/gems/gems/io-console-0.4.6
/usr/share/gems/gems/io-console-0.4.6/lib
/usr/share/gems/gems/io-console-0.4.6/lib/io
/usr/share/gems/gems/io-console-0.4.6/lib/io/console
/usr/share/gems/gems/io-console-0.4.6/lib/io/console/size.rb
/usr/share/gems/specifications/io-console-0.4.6.gemspec
/usr/share/ruby/io
/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/c9f0a0f00a2522b419d341665c23b47aea2747
/usr/lib64/gems/ruby/io-console-0.4.6
/usr/lib64/gems/ruby/io-console-0.4.6/io
/usr/lib64/gems/ruby/io-console-0.4.6/io/console.so
/usr/lib64/ruby/io/console.so
/usr/share/gems/gems/io-console-0.4.6
/usr/share/gems/gems/io-console-0.4.6/lib
/usr/share/gems/gems/io-console-0.4.6/lib/io
/usr/share/gems/gems/io-console-0.4.6/lib/io/console
/usr/share/gems/gems/io-console-0.4.6/lib/io/console/size.rb
/usr/share/gems/specifications/io-console-0.4.6.gemspec
/usr/share/ruby/io
/usr/lib/.build-id
/usr/lib/.build-id/82/404104fcd8d241b8a412078446bd26149e5ffa
/usr/lib/gems/ruby/io-console-0.4.6
/usr/lib/gems/ruby/io-console-0.4.6/io
/usr/lib/gems/ruby/io-console-0.4.6/io/console.so
/usr/lib/ruby/io/console.so
/usr/share/gems/gems/io-console-0.4.6
/usr/share/gems/gems/io-console-0.4.6/lib
/usr/share/gems/gems/io-console-0.4.6/lib/io
/usr/share/gems/gems/io-console-0.4.6/lib/io/console
/usr/share/gems/gems/io-console-0.4.6/lib/io/console/size.rb
/usr/share/gems/specifications/io-console-0.4.6.gemspec
/usr/share/ruby/io

References

Summary

In this tutorial we learn how to install rubygem-io-console on CentOS 8 using yum and dnf.