pkg.soopen package index

brew / 排名 108

使用 Homebrew, apk, dnf, Nix, pacman, zypper 安装 oniguruma

查看 oniguruma 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install oniguruma

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add oniguruma

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

Fedora dnf已验证 · 92%
sudo dnf install oniguruma

Fedora Rawhide package metadata · oniguruma · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#oniguruma

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

Arch Linux pacman已验证 · 92%
sudo pacman -S oniguruma

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

openSUSE zypper已验证 · 92%
sudo zypper install libonig5

openSUSE Tumbleweed package metadata · libonig5 · 来源: download.opensuse.org

概览

软件包摘要

Regular expressions library

命令和别名

  • onig-config

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
onig-config可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本6.9.10
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:oniguruma
版本6.9.10
软件包管理器Homebrew
主页https://github.com/kkos/oniguruma/
仓库https://github.com/kkos/oniguruma
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

oniguruma

nix profile install nixpkgs#oniguruma
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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-5.fc45

Regular expressions library

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

sudo dnf install oniguruma
  • License: BSD-2-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: oniguruma
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

oniguruma-devel 6.9.10-5.fc45

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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
  • 匹配方式: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.5

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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Oniguruma
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libonig5 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

oniguruma-devel 6.9.10-2.5

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 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Oniguruma
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: oniguruma-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation