How To Install oniguruma on Fedora 36

In this tutorial we learn how to install oniguruma in Fedora 36. oniguruma is Regular expressions library

Introduction

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

What is oniguruma

Oniguruma is a regular expressions library. The characteristics of this library is that different character encoding for every regular expression object can be specified. (supported APIs

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

Install oniguruma on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install oniguruma

Install oniguruma on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install oniguruma

How To Uninstall oniguruma on Fedora 36

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

sudo dnf remove oniguruma

oniguruma Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/a40542d9cb1e7242eec50b2e6d7cc4a9416786
/usr/lib64/libonig.so.5
/usr/lib64/libonig.so.5.3.0
/usr/share/doc/oniguruma
/usr/share/doc/oniguruma/AUTHORS
/usr/share/doc/oniguruma/HISTORY
/usr/share/doc/oniguruma/README.md
/usr/share/doc/oniguruma/README_japanese
/usr/share/doc/oniguruma/index.html
/usr/share/doc/oniguruma/index_ja.html
/usr/share/licenses/oniguruma
/usr/share/licenses/oniguruma/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/ae
/usr/lib/.build-id/ae/d83b0e551ab85b57fd6b55db9c98082f587e2b
/usr/lib64/libonig.so.5
/usr/lib64/libonig.so.5.2.0
/usr/share/doc/oniguruma
/usr/share/doc/oniguruma/AUTHORS
/usr/share/doc/oniguruma/HISTORY
/usr/share/doc/oniguruma/README.md
/usr/share/doc/oniguruma/README_japanese
/usr/share/doc/oniguruma/index.html
/usr/share/doc/oniguruma/index_ja.html
/usr/share/licenses/oniguruma
/usr/share/licenses/oniguruma/COPYING

References

Summary

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