How To Install rubygem-byebug on Fedora 36

In this tutorial we learn how to install rubygem-byebug in Fedora 36. rubygem-byebug is Ruby 2.0 fast debugger - base + CLI

Introduction

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

What is rubygem-byebug

Byebug is a Ruby 2 debugger. It’s implemented using the Ruby 2 TracePoint C API for execution control and the Debug Inspector C API for call stack navigation. The core component provides support that front-ends can build on. It provides breakpoint handling and bindings for stack frames among other things and it comes with an easy to use command line interface.

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

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

sudo dnf -y install rubygem-byebug

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

sudo yum -y install rubygem-byebug

How To Uninstall rubygem-byebug on Fedora 36

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

sudo dnf remove rubygem-byebug

rubygem-byebug Package Contents on Fedora 36

/usr/bin/byebug
/usr/lib/.build-id
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/a499cc44347c355c80f58432f951ca0c25d6d9
/usr/lib64/gems/ruby/byebug-11.1.3
/usr/lib64/gems/ruby/byebug-11.1.3/byebug
/usr/lib64/gems/ruby/byebug-11.1.3/byebug/byebug.so
/usr/lib64/gems/ruby/byebug-11.1.3/gem.build_complete
/usr/share/gems/gems/byebug-11.1.3
/usr/share/gems/gems/byebug-11.1.3/CHANGELOG.md
/usr/share/gems/gems/byebug-11.1.3/CONTRIBUTING.md
/usr/share/gems/gems/byebug-11.1.3/GUIDE.md
/usr/share/gems/gems/byebug-11.1.3/LICENSE
/usr/share/gems/gems/byebug-11.1.3/README.md
/usr/share/gems/gems/byebug-11.1.3/exe
/usr/share/gems/gems/byebug-11.1.3/exe/byebug
/usr/share/gems/gems/byebug-11.1.3/lib
/usr/share/gems/gems/byebug-11.1.3/lib/byebug
/usr/share/gems/gems/byebug-11.1.3/lib/byebug.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/attacher.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/breakpoint.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/command.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/command_list.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/break.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/catch.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/condition.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/continue.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/debug.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/delete.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/disable
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/disable.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/disable/breakpoints.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/disable/display.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/display.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/down.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/edit.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/enable
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/enable.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/enable/breakpoints.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/enable/display.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/finish.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/frame.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/help.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/history.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/info
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/info.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/info/breakpoints.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/info/display.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/info/file.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/info/line.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/info/program.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/interrupt.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/irb.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/kill.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/list.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/method.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/next.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/pry.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/quit.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/restart.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/save.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/set.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/show.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/skip.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/source.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/step.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/thread
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/thread.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/thread/current.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/thread/list.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/thread/resume.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/thread/stop.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/thread/switch.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/tracevar.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/undisplay.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/untracevar.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/up.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/var
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/var.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/var/all.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/var/args.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/var/const.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/var/global.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/var/instance.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/var/local.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/commands/where.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/context.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/core.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/errors.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/frame.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/helpers
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/helpers/bin.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/helpers/eval.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/helpers/file.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/helpers/frame.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/helpers/parse.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/helpers/path.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/helpers/string.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/helpers/thread.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/helpers/toggle.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/helpers/var.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/history.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/interface.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/interfaces
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/interfaces/local_interface.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/interfaces/remote_interface.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/interfaces/script_interface.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/interfaces/test_interface.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/option_setter.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/printers
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/printers/base.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/printers/plain.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/printers/texts
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/printers/texts/base.yml
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/printers/texts/plain.yml
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/processors
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/processors/command_processor.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/processors/control_processor.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/processors/post_mortem_processor.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/processors/script_processor.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/remote
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/remote.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/remote/client.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/remote/server.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/runner.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/setting.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/settings
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/settings/autoirb.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/settings/autolist.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/settings/autopry.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/settings/autosave.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/settings/basename.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/settings/callstyle.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/settings/fullpath.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/settings/histfile.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/settings/histsize.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/settings/linetrace.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/settings/listsize.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/settings/post_mortem.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/settings/savefile.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/settings/stack_on_error.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/settings/width.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/source_file_formatter.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/subcommands.rb
/usr/share/gems/gems/byebug-11.1.3/lib/byebug/version.rb
/usr/share/gems/specifications/byebug-11.1.3.gemspec

References

Summary

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