How To Install rubygem-io-console on Rocky Linux 8
Introduction
In this tutorial we learn how to install rubygem-io-console
on Rocky Linux 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.
We can use yum
or dnf
to install rubygem-io-console
on Rocky Linux 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 Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
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 Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
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 Rocky Linux 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 Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/45d8e4f2d9e0f76cd92ca71b22d6f0d3850813
/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/90
/usr/lib/.build-id/90/21d944eae02ae34cbeb45eb46b5f6f09a8e4e9
/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/b5
/usr/lib/.build-id/b5/e0b1da0ca8c266b050245fa46219648987a1ad
/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/da
/usr/lib/.build-id/da/a8ad62e50dc5e544b5da13945d250ff65b0a4e
/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 Rocky Linux 8 using yum and dnf.