How To Install rr on Fedora 34

rr is Tool to record and replay execution of applications

Introduction

In this tutorial we learn how to install rr on Fedora 34.

What is rr

rr is a lightweight tool for recording and replaying execution of applications (trees of processes and threads). For more information, please visit http

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

Install rr on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install rr using dnf by running the following command:

sudo dnf -y install rr

Install rr on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install rr using yum by running the following command:

sudo yum -y install rr

How To Uninstall rr on Fedora 34

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

sudo dnf remove rr

rr Package Contents on Fedora 34

/usr/bin/rr
/usr/bin/rr-collect-symbols.py
/usr/bin/rr_exec_stub
/usr/bin/signal-rr-recording.sh
/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/6f2ee7f474546fc7352c38fbb104634b1e1876
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/7ac59ca40bdda79aecd3071270fb8541683892
/usr/lib64/rr
/usr/lib64/rr/librrpreload.so
/usr/share/bash-completion/completions/rr
/usr/share/rr
/usr/share/rr/32bit-avx.xml
/usr/share/rr/32bit-core.xml
/usr/share/rr/32bit-linux.xml
/usr/share/rr/32bit-sse.xml
/usr/share/rr/64bit-avx.xml
/usr/share/rr/64bit-core.xml
/usr/share/rr/64bit-linux.xml
/usr/share/rr/64bit-seg.xml
/usr/share/rr/64bit-sse.xml
/usr/share/rr/aarch64-core.xml
/usr/share/rr/aarch64-fpu.xml
/usr/share/rr/aarch64-pauth.xml
/usr/share/rr/amd64-avx-linux.xml
/usr/share/rr/amd64-linux.xml
/usr/share/rr/i386-avx-linux.xml
/usr/share/rr/i386-linux.xml
/usr/share/rr/rr_page_32
/usr/share/rr/rr_page_32_replay
/usr/share/rr/rr_page_64
/usr/share/rr/rr_page_64_replay
/usr/share/rr/rr_page_arm64
/usr/share/rr/rr_page_arm64_replay

References

Summary

In this tutorial we learn how to install rr on Fedora 34 using yum and dnf.