How To Install rubygem-io-console.x86_64 on Amazon Linux 2

In this tutorial we learn how to install rubygem-io-console.x86_64 in Amazon Linux 2. rubygem-io-console.x86_64 is IO/Console is a simple console utilizing library

Introduction

In this tutorial we learn how to install rubygem-io-console.x86_64 on Amazon Linux 2.

What is rubygem-io-console.x86_64

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 to install rubygem-io-console.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-io-console.x86_64.

Install rubygem-io-console.x86_64 on Amazon Linux 2 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.x86_64 using yum by running the following command:

sudo yum -y install rubygem-io-console.x86_64

How To Uninstall rubygem-io-console.x86_64 on Amazon Linux 2

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

sudo yum remove rubygem-io-console.x86_64

rubygem-io-console.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/gems/ruby/io-console-0.4.2
/usr/lib64/gems/ruby/io-console-0.4.2/lib
/usr/lib64/gems/ruby/io-console-0.4.2/lib/io
/usr/lib64/gems/ruby/io-console-0.4.2/lib/io/console.so
/usr/lib64/ruby/io/console.so
/usr/share/gems/gems/io-console-0.4.2
/usr/share/gems/gems/io-console-0.4.2/lib
/usr/share/gems/gems/io-console-0.4.2/lib/io
/usr/share/gems/gems/io-console-0.4.2/lib/io/console
/usr/share/gems/gems/io-console-0.4.2/lib/io/console/size.rb
/usr/share/gems/specifications/io-console-0.4.2.gemspec
/usr/share/ruby/io

References

Summary

In this tutorial we learn how to install rubygem-io-console.x86_64 on Amazon Linux 2 using yum.