How To Install rbspy on Fedora 36

In this tutorial we learn how to install rbspy in Fedora 36. rbspy is Sampling CPU profiler for Ruby

Introduction

In this tutorial we learn how to install rbspy on Fedora 36.

What is rbspy

rbspy is a sampling CPU profiler for Ruby. rbspy lets you profile Ruby processes that are already running. You give it a PID, and it starts profiling. It’s a sampling profiler, which means it’s low overhead and safe to run in production. rbspy lets you record profiling data, save the raw profiling data to disk, and then analyze it in a variety of different ways later on.

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

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

sudo dnf -y install rbspy

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

sudo yum -y install rbspy

How To Uninstall rbspy on Fedora 36

To uninstall only the rbspy package we can use the following command:

sudo dnf remove rbspy

rbspy Package Contents on Fedora 36

/usr/bin/rbspy
/usr/lib/.build-id
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/3444acdb4f4cd9b0d5c1714b6fd2bd1b35c66e
/usr/share/doc/rbspy
/usr/share/doc/rbspy/ARCHITECTURE.md
/usr/share/doc/rbspy/CODE_OF_CONDUCT.md
/usr/share/doc/rbspy/CONTRIBUTORS.md
/usr/share/doc/rbspy/README.md
/usr/share/licenses/rbspy
/usr/share/licenses/rbspy/License.md

References

Summary

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