How To Install librttr on CentOS 7

In this tutorial we learn how to install librttr on CentOS 7. librttr is Run Time Type Reflection for C++

Introduction

In this tutorial we learn how to install librttr on CentOS 7.

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

Install librttr on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install librttr

Install librttr on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install librttr

How To Uninstall librttr on CentOS 7

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

sudo dnf remove librttr

References

Summary

In this tutorial we learn how to install librttr on CentOS 7 using yum and dnf.