Automic VaultAutomic Vault

brew

Install oniguruma with Homebrew, apk, dnf, Nix, pacman, zypper

Regular expressions library. Version 6.9.10 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install oniguruma

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add oniguruma

Alpine Linux edge package indexes · oniguruma · source: dl-cdn.alpinelinux.org

Fedora dnfverified · 92%
sudo dnf install oniguruma

Fedora Rawhide package metadata · oniguruma · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#oniguruma

nixpkgs package indexes · pkgs/by-name/on/oniguruma/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S oniguruma

Arch Linux sync databases · oniguruma · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libonig5

openSUSE Tumbleweed package metadata · libonig5 · source: download.opensuse.org

overview

Package summary

Regular expressions library

Commands and aliases

  • onig-config

history

Project history and usage

Oniguruma is a BSD-licensed C regular-expression engine known for rich syntax and unusually broad character-encoding support. It became infrastructure for language runtimes, multibyte text processing, and editor syntax-highlighting systems.

Project history

The upstream README describes Oniguruma as a modern and flexible regular-expression library that combines features traditionally found in different regex implementations. A key design point is that character encoding can be specified per regular-expression object, with supported encodings ranging from ASCII and UTF families to EUC variants, Shift_JIS, Big5, GB18030, KOI8-R, CP1251, and ISO-8859 variants.

The project continued through 6.x releases with Unicode and API work: 6.9.6 added compatibility and safety-related options, 6.9.7 added callback and Python syntax APIs, 6.9.8 updated to Unicode 14.0.0 and fixed OSS-Fuzz findings, 6.9.9 updated to Unicode 15.1.0, and 6.9.10 updated to Unicode 16.0 and added the (*SKIP) operator. The README states that the project ended on April 24, 2025.

Adoption history

Oniguruma's adoption came from being useful where byte-oriented regex engines were not enough. PHP's mbstring installation manual says Oniguruma is necessary for multibyte regular-expression functions and that PHP 7.4.0 switched to pkg-config detection of the external libonig library after earlier bundled use.

The editor ecosystem also standardized on Oniguruma syntax. Microsoft's vscode-textmate README says TextMate grammars use the Oniguruma dialect and that the library is used in VS Code; the VS Code extension API guide likewise says TextMate grammars rely on Oniguruma regular expressions.

How it is used

C developers include oniguruma.h, link with libonig, and choose among the native Oniguruma API plus GNU and POSIX-compatible APIs. The upstream README includes sample programs for callouts, encodings, named groups, POSIX usage, scanning, syntax tests, and user-defined Unicode properties.

Downstream users often never call libonig directly. PHP developers touch it through mb_ereg and related mbstring regex functions, while editor-extension authors touch its syntax through TextMate grammar patterns consumed by VS Code and compatible tooling.

Why package nerds care

Oniguruma is a classic package-graph library: small from a user-interface perspective, but large in dependency impact. It sits under PHP multibyte regex, TextMate grammar tokenization, VS Code-related tooling, and multiple language or editor stacks, so packaging updates can ripple into builds, syntax highlighting, and security maintenance.

Timeline

  • PHP 7.4.0: PHP's mbstring build switched to pkg-config detection for libonig, while the manual notes prior bundled use.
  • 2020-2022: 6.9.6 through 6.9.8 added API work, Unicode 14.0.0 support, and fixes from OSS-Fuzz and Coverity.
  • 2024-2025: 6.9.9 and 6.9.10 updated Unicode support to 15.1.0 and 16.0.
  • April 24, 2025: the upstream README states that the Oniguruma project ended.

Related projects

  • Oniguruma is the upstream ancestor of Onigmo. It is also tied to PHP mbstring, TextMate grammars, VS Code's TextMate tokenizer stack, and package names such as libonig on Linux distributions.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
onig-configcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version6.9.10
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/kkos/oniguruma

  • infoNo package-manager update timestamp was available.low confidence
  • infoNo cached GitHub release or tag data was available.https://github.com/kkos/onigurumanone confidence

install metadata

Package metadata

Package keybrew:oniguruma
Version6.9.10
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/oniguruma
Homepagehttps://github.com/kkos/oniguruma/
Repositoryhttps://github.com/kkos/oniguruma
Upstream docshttps://github.com/kkos/oniguruma#readme
LicenseBSD-2-Clause
Source archivehttps://github.com/kkos/oniguruma/releases/download/v6.9.10/onig-6.9.10.tar.gz
Build dependenciesautoconf, automake, libtool
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameoniguruma
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

oniguruma

nix profile install nixpkgs#oniguruma
  • normalized package name match
  • Matched by: Oniguruma
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/on/oniguruma/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

oniguruma 6.9.10-r0

a regular expressions library

https://github.com/kkos/oniguruma

sudo apk add oniguruma
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: oniguruma
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Oniguruma
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: oniguruma from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

oniguruma-dev 6.9.10-r0

a regular expressions library (development files)

https://github.com/kkos/oniguruma

sudo apk add oniguruma-dev
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: oniguruma
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Oniguruma
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: oniguruma-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

oniguruma 6.9.10-4.fc44

Regular expressions library

https://github.com/kkos/oniguruma/

sudo dnf install oniguruma
  • License: BSD-2-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: oniguruma
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Oniguruma
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: oniguruma from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

oniguruma-devel 6.9.10-4.fc44

Development files for oniguruma

https://github.com/kkos/oniguruma/

sudo dnf install oniguruma-devel
  • License: BSD-2-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: oniguruma
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Oniguruma
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: oniguruma-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

oniguruma 6.9.10-1

a regular expressions library

https://github.com/kkos/oniguruma

sudo pacman -S oniguruma
  • License: BSD
  • Architecture: x86_64
  • normalized package name match
  • Matched by: Oniguruma
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: oniguruma from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

libonig5 6.9.10-2.3

Regex Library Supporting Different Character Encodings

https://github.com/kkos/oniguruma

sudo zypper install libonig5
  • License: BSD-2-Clause
  • Category: System/Libraries
  • Architecture: x86_64
  • Source Package: oniguruma
  • 2 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Oniguruma
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libonig5 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

oniguruma-devel 6.9.10-2.3

Regex Library Supporting Different Character Encodings - Development Files

https://github.com/kkos/oniguruma

sudo zypper install oniguruma-devel
  • License: BSD-2-Clause
  • Category: Development/Languages/C and C++
  • Architecture: x86_64
  • Source Package: oniguruma
  • 3 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Oniguruma
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: oniguruma-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment