How To Install tre on Fedora 36

In this tutorial we learn how to install tre in Fedora 36. tre is POSIX compatible regexp library with approximate matching

Introduction

In this tutorial we learn how to install tre on Fedora 36.

What is tre

TRE is a lightweight, robust, and efficient POSIX compatible regexp matching library with some exciting features such as approximate matching.

We can use yum or dnf to install tre on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install tre.

Install tre on Fedora 36 Using dnf


Update yum database with dnf using the following command.

title: “How To Install tre on Fedora 36”

linkTitle: "tre"
sudo dnf makecache --refresh
type: "docs"

description: “In this tutorial we learn how to install tre in Fedora 36. tre is POSIX compatible regexp library with approximate matching” date: “2022-08-17” After updating yum database, We can install tre using dnf by running the following command: lastmod: “2022-08-17”

#image: /images/fedora/36/tre-featured.png
---
sudo dnf -y install tre

Introduction

Install tre on Fedora 36 Using yum

In this tutorial we learn how to install tre on Fedora 36.

Update yum database with yum using the following command.

What is tre

sudo yum makecache --refresh
> TRE is a lightweight, robust, and efficient POSIX compatible regexp matching library with some exciting features such as approximate matching.  

We can use yum or dnf to install tre on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install tre. After updating yum database, We can install tre using yum by running the following command:

## Install tre on Fedora 36 Using dnf
sudo yum -y install tre

Update yum database with dnf using the following command.

How To Uninstall tre on Fedora 36

sudo dnf makecache --refresh
To uninstall only the `tre` package we can use the following command:
sudo dnf remove tre
After updating yum database, We can install `tre` using `dnf` by running the following command:
## tre Package Contents on Fedora 36
sudo dnf -y install tre

## Install tre on Fedora 36 Using yum

Update yum database with `yum` using the following command.

```bash
sudo yum makecache --refresh

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

sudo yum -y install tre

How To Uninstall tre on Fedora 36

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

sudo dnf remove tre

tre Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/99
/usr/lib/.build-id/99/8650361450fe312edde12facd31a4be1163e1f
/usr/lib/libtre.so.5
/usr/lib/libtre.so.5.0.0

References

Summary

In this tutorial we learn how to install tre on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id /usr/lib/.build-id/57 /usr/lib/.build-id/57/28d6ba2ede9a0db65b0199c3936dfb6cf88159 /usr/lib64/libtre.so.5 /usr/lib64/libtre.so.5.0.0


## References

* [tre website](http://laurikari.net/tre/)

## Summary

In this tutorial we learn how to install `tre` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).