How To Install librttr-devel on CentOS 7

In this tutorial we learn how to install librttr-devel on CentOS 7. librttr-devel is Header files for the C++ Run Time Type Reflection library

Introduction

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

What is librttr-devel

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

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

sudo yum -y install librttr-devel

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

sudo dnf -y install librttr-devel

How To Uninstall librttr-devel on CentOS 7

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

sudo dnf remove librttr-devel

References

Summary

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