How To Install rubygem-thor.noarch on Amazon Linux 2

In this tutorial we learn how to install rubygem-thor.noarch in Amazon Linux 2. rubygem-thor.noarch is Thor is a toolkit for building powerful command-line interfaces

Introduction

In this tutorial we learn how to install rubygem-thor.noarch on Amazon Linux 2.

What is rubygem-thor.noarch

Thor is a toolkit for building powerful command-line interfaces.

We can use yum to install rubygem-thor.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-thor.noarch.

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

sudo yum -y install rubygem-thor.noarch

How To Uninstall rubygem-thor.noarch on Amazon Linux 2

To uninstall only the rubygem-thor.noarch package we can use the following command:

sudo yum remove rubygem-thor.noarch

rubygem-thor.noarch Package Contents on Amazon Linux 2

/usr/bin/thor
/usr/share/gems/gems/thor-0.19.1
/usr/share/gems/gems/thor-0.19.1/LICENSE.md
/usr/share/gems/gems/thor-0.19.1/bin
/usr/share/gems/gems/thor-0.19.1/bin/thor
/usr/share/gems/gems/thor-0.19.1/lib
/usr/share/gems/gems/thor-0.19.1/lib/thor
/usr/share/gems/gems/thor-0.19.1/lib/thor.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/actions
/usr/share/gems/gems/thor-0.19.1/lib/thor/actions.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/actions/create_file.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/actions/create_link.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/actions/directory.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/actions/empty_directory.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/actions/file_manipulation.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/actions/inject_into_file.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/base.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/command.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/core_ext
/usr/share/gems/gems/thor-0.19.1/lib/thor/core_ext/hash_with_indifferent_access.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/core_ext/io_binary_read.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/core_ext/ordered_hash.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/error.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/group.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/invocation.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/line_editor
/usr/share/gems/gems/thor-0.19.1/lib/thor/line_editor.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/line_editor/basic.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/line_editor/readline.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/parser
/usr/share/gems/gems/thor-0.19.1/lib/thor/parser.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/parser/argument.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/parser/arguments.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/parser/option.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/parser/options.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/rake_compat.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/runner.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/shell
/usr/share/gems/gems/thor-0.19.1/lib/thor/shell.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/shell/basic.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/shell/color.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/shell/html.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/util.rb
/usr/share/gems/gems/thor-0.19.1/lib/thor/version.rb
/usr/share/gems/specifications/thor-0.19.1.gemspec

References

Summary

In this tutorial we learn how to install rubygem-thor.noarch on Amazon Linux 2 using yum.