How To Install oniguruma on Rocky Linux 8

In this tutorial we learn how to install oniguruma on Rocky Linux 8. oniguruma is Regular expressions library

Introduction

In this tutorial we learn how to install oniguruma on Rocky Linux 8.

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

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

sudo dnf -y install oniguruma

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

sudo yum -y install oniguruma

How To Uninstall oniguruma on Rocky Linux 8

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

sudo dnf remove oniguruma

oniguruma Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/a6efa53776ff206fd26a1f9abc3290393170ff
/usr/lib64/libonig.so.5
/usr/lib64/libonig.so.5.0.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/bb
/usr/lib/.build-id/bb/03eccb17f03a6e9940fdb396ad1655598e6949
/usr/lib/libonig.so.5
/usr/lib/libonig.so.5.0.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 Rocky Linux 8 using yum and dnf.