How To Install librttr on Rocky Linux 8

In this tutorial we learn how to install librttr on Rocky Linux 8. librttr is Run Time Type Reflection for C++

Introduction

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

What is librttr

Run Time Type Reflection is the the ability of a computer program to introspect and modify objects at runtime. It is also the name of the library itself, which is written in C++.

We can use yum or dnf to install librttr on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install librttr.

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

sudo dnf -y install librttr

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

sudo yum -y install librttr

How To Uninstall librttr on Rocky Linux 8

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

sudo dnf remove librttr

librttr Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/70
/usr/lib/.build-id/70/5d3f646cb437e77b5d463d03177bb41cef94b8
/usr/lib64/librttr_core.so.0.9.6
/usr/share/doc/librttr
/usr/share/doc/librttr/README.md
/usr/share/licenses/librttr
/usr/share/licenses/librttr/LICENSE.txt

References

Summary

In this tutorial we learn how to install librttr on Rocky Linux 8 using yum and dnf.