How To Install rr on Rocky Linux 8

In this tutorial we learn how to install rr on Rocky Linux 8. rr is Tool to record and replay execution of applications

Introduction

In this tutorial we learn how to install rr on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install rr.

Install rr on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install rr

Install rr on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 Rocky Linux 8

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

sudo dnf remove rr

rr Package Contents on Rocky Linux 8

/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/09
/usr/lib/.build-id/09/82cf00cbbcf4ad72f950c89cca18501f7f102a
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/ce7a50890b772e57645f66689c9ad11e6c4f84
/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 Rocky Linux 8 using yum and dnf.