How To Install rubygem-pry on Fedora 36

In this tutorial we learn how to install rubygem-pry in Fedora 36. rubygem-pry is An IRB alternative and runtime developer console

Introduction

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

What is rubygem-pry

Pry is a runtime developer console and IRB alternative with powerful introspection capabilities. Pry aims to be more than an IRB replacement. It is an attempt to bring REPL driven programming to the Ruby language.

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

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

sudo dnf -y install rubygem-pry

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

sudo yum -y install rubygem-pry

How To Uninstall rubygem-pry on Fedora 36

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

sudo dnf remove rubygem-pry

rubygem-pry Package Contents on Fedora 36

/usr/bin/pry
/usr/share/gems/gems/pry-0.13.1
/usr/share/gems/gems/pry-0.13.1/LICENSE
/usr/share/gems/gems/pry-0.13.1/bin
/usr/share/gems/gems/pry-0.13.1/bin/pry
/usr/share/gems/gems/pry-0.13.1/lib
/usr/share/gems/gems/pry-0.13.1/lib/pry
/usr/share/gems/gems/pry-0.13.1/lib/pry.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/basic_object.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/block_command.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/class_command.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/cli.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/code
/usr/share/gems/gems/pry-0.13.1/lib/pry/code.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/code/code_file.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/code/code_range.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/code/loc.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/code_object.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/color_printer.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/command.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/command_set.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/command_state.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/amend_line.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/bang.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/bang_pry.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/cat
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/cat.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/cat/abstract_formatter.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/cat/exception_formatter.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/cat/file_formatter.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/cat/input_expression_formatter.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/cd.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/change_inspector.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/change_prompt.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/clear_screen.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/code_collector.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/disable_pry.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/easter_eggs.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/edit
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/edit.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/edit/exception_patcher.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/edit/file_and_line_locator.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/exit.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/exit_all.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/exit_program.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/find_method.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/fix_indent.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/help.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/hist.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/import_set.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/jump_to.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/list_inspectors.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/ls
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/ls.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/ls/constants.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/ls/formatter.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/ls/globals.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/ls/grep.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/ls/instance_vars.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/ls/interrogatable.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/ls/jruby_hacks.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/ls/local_names.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/ls/local_vars.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/ls/ls_entity.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/ls/methods.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/ls/methods_helper.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/ls/self_methods.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/nesting.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/play.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/pry_backtrace.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/pry_version.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/raise_up.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/reload_code.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/reset.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/ri.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/save_file.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/shell_command.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/shell_mode.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/show_doc.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/show_info.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/show_input.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/show_source.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/stat.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/switch_to.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/toggle_color.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/watch_expression
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/watch_expression.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/watch_expression/expression.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/whereami.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/commands/wtf.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/config
/usr/share/gems/gems/pry-0.13.1/lib/pry/config.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/config/attributable.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/config/lazy_value.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/config/memoized_value.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/config/value.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/control_d_handler.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/core_extensions.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/editor.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/env.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/exception_handler.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/exceptions.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/forwardable.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/helpers
/usr/share/gems/gems/pry-0.13.1/lib/pry/helpers.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/helpers/base_helpers.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/helpers/command_helpers.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/helpers/documentation_helpers.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/helpers/options_helpers.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/helpers/platform.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/helpers/table.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/helpers/text.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/history.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/hooks.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/indent.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/input_completer.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/input_lock.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/inspector.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/last_exception.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/method
/usr/share/gems/gems/pry-0.13.1/lib/pry/method.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/method/disowned.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/method/patcher.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/method/weird_method_locator.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/object_path.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/output.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/pager.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/plugins.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/prompt.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/pry_class.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/pry_instance.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/repl.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/repl_file_loader.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/ring.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/slop
/usr/share/gems/gems/pry-0.13.1/lib/pry/slop.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/slop/LICENSE
/usr/share/gems/gems/pry-0.13.1/lib/pry/slop/commands.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/slop/option.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/syntax_highlighter.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/system_command_handler.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/testable
/usr/share/gems/gems/pry-0.13.1/lib/pry/testable.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/testable/evalable.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/testable/mockable.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/testable/pry_tester.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/testable/utility.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/testable/variables.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/version.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/warning.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/wrapped_module
/usr/share/gems/gems/pry-0.13.1/lib/pry/wrapped_module.rb
/usr/share/gems/gems/pry-0.13.1/lib/pry/wrapped_module/candidate.rb
/usr/share/gems/specifications/pry-0.13.1.gemspec

References

Summary

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