How To Install tre-devel on Rocky Linux 8

In this tutorial we learn how to install tre-devel on Rocky Linux 8. tre-devel is Development files for use with the tre package

Introduction

In this tutorial we learn how to install tre-devel on Rocky Linux 8.

What is tre-devel

This package contains header files and static libraries for use when building applications which use the TRE library.

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

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

sudo dnf -y install tre-devel

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

sudo yum -y install tre-devel

How To Uninstall tre-devel on Rocky Linux 8

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

sudo dnf remove tre-devel

tre-devel Package Contents on Rocky Linux 8

/usr/include/tre
/usr/include/tre/regex.h
/usr/include/tre/tre-config.h
/usr/include/tre/tre.h
/usr/lib64/libtre.so
/usr/lib64/pkgconfig/tre.pc

References

Summary

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