How To Install rubygem-thor on Fedora 36

In this tutorial we learn how to install rubygem-thor in Fedora 36. rubygem-thor is Thor is a toolkit for building powerful command-line interfaces

Introduction

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

What is rubygem-thor

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

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

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

sudo dnf -y install rubygem-thor

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

sudo yum -y install rubygem-thor

How To Uninstall rubygem-thor on Fedora 36

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

sudo dnf remove rubygem-thor

rubygem-thor Package Contents on Fedora 36

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

References

Summary

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