How To Install oniguruma on Fedora 34

oniguruma is Regular expressions library Regular expressions library

Introduction

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

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 oniguruma 6.9.7.1 1.fc34 x86_64 228 k oniguruma-6.9.7.1-1.fc34.src.rpm updates Regular expressions library https BSD 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install oniguruma.

Install oniguruma on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install oniguruma

Install oniguruma on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 34

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

sudo dnf remove oniguruma

oniguruma Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/27ef40278652ed8ef9f22e108b5b8c6da0174f
/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
/usr/lib/.build-id
/usr/lib/.build-id/11
/usr/lib/.build-id/11/36b4889b0d90452b4bbe7b7e0dfef398f9fac9
/usr/lib/libonig.so.5
/usr/lib/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
/usr/lib/.build-id
/usr/lib/.build-id/60
/usr/lib/.build-id/60/c794eaa6a7337b5f43b74ae283cc5843193638
/usr/lib/libonig.so.5
/usr/lib/libonig.so.5.1.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/6f
/usr/lib/.build-id/6f/95e7ba344e1feb485df5db8d82e1ff2f48598e
/usr/lib64/libonig.so.5
/usr/lib64/libonig.so.5.1.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 34 using yum and dnf.