pkg.soopen package index

brew / 順位 11

pcre2 を Homebrew, apk, dnf, Nix, pacman, apt, zypper, scoop でインストール

pcre2 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install pcre2

local Homebrew formula metadata

Linux

Alpine Linux apk確認済み · 92%
sudo apk add pcre2

Alpine Linux edge package indexes · pcre2 · ソース: dl-cdn.alpinelinux.org

Fedora dnf確認済み · 92%
sudo dnf install pcre2

Fedora Rawhide package metadata · pcre2 · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#pcre2

nixpkgs package indexes · pkgs/by-name/pc/pcre2/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S pcre2

Arch Linux sync databases · pcre2 · ソース: geo.mirror.pkgbuild.com

Debian apt確認済み · 92%
sudo apt install libpcre2-16-0

Debian stable package indexes · libpcre2-16-0 · ソース: deb.debian.org

openSUSE zypper確認済み · 92%
sudo zypper install libpcre2-16-0

openSUSE Tumbleweed package metadata · libpcre2-16-0 · ソース: download.opensuse.org

Windows

Scoop確認済み · 92%
scoop install main/pcre2grep

Scoop official bucket manifest trees · bucket/pcre2grep.json · ソース: api.github.com

概要

パッケージ概要

Perl compatible regular expressions library with a new API

コマンドとエイリアス

  • pcre2-config
  • pcre2grep
  • pcre2test

履歴

プロジェクトの歴史と使われ方

PCRE2 is the maintained Perl-Compatible Regular Expressions library, providing C APIs for pattern compilation and matching, Unicode support, multiple code-unit widths, and optional JIT compilation.

プロジェクトの歴史

PCRE2 was created after nearly two decades of the original API made further development difficult. The redesign introduced a more extensible interface, automatic optimization, refactored internals, and new functionality under distinct pcre2-prefixed APIs.

The first PCRE2 release established a successor line rather than a drop-in replacement. The original library is now obsolete, while PCRE2 continues as the maintained project.

採用の歴史

PCRE2 became the maintained PCRE generation for applications and language bindings needing Perl-compatible matching without embedding Perl. Separate library names allow it to coexist with legacy PCRE during migrations.

Its self-contained, permissively licensed implementation is consumed directly by software and indirectly through runtimes, bindings, and command-line tools.

使われ方

Developers link libpcre2-8, libpcre2-16, or libpcre2-32 according to the required code-unit width and use the compile and match APIs.

pcre2grep supplies command-line searching, pcre2test supports pattern experiments and diagnostics, and pcre2-config reports build settings.

PCRE2 has no documented runtime configuration or credentials file; Unicode, JIT, and related capabilities are primarily build-time features controlled through APIs at runtime.

パッケージ好きにとっての重要性

PCRE2 is a foundational library in many dependency graphs. Maintainers care about its distinct 8-, 16-, and 32-bit code-unit libraries, optional Unicode and JIT features, and its deliberate ABI break from PCRE1.

The pcre2grep and pcre2test utilities also make the package useful outside compiled applications for searching, experimentation, and diagnostics.

タイムライン

  • 2015: PCRE2 10.00 introduced the redesigned API generation.
  • 2021: The original PCRE line reached its final release, leaving PCRE2 as the maintained generation.

Related projects

  • PCRE1 is the compatibility predecessor; migration requires source changes because PCRE2 exposes a redesigned API.
  • Perl remains the principal syntax and semantics reference for PCRE2's regular-expression behavior.

セキュリティ状態

リスクレベル: グリーン

library-like package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • library-like package without higher-risk signals

信号

  • metadata:library-like

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 5 個のプラットフォームターゲットで利用できます。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
pcre2-configcliグローバル実行可能ファイル
pcre2grepcliグローバル実行可能ファイル
pcre2testcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-11-04
マネージャ版10.49
マネージャ更新日2026-09-29
ローカルデータOK
上流not checked
検出された最新未検出

https://github.com/PCRE2Project/pcre2

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:pcre2
バージョン10.49
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/pcre2
ホームページhttps://www.pcre.org/
リポジトリhttps://github.com/PCRE2Project/pcre2
上流ドキュメントhttps://www.pcre.org/
ライセンスBSD-3-Clause
ソースアーカイブhttps://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.49/pcre2-10.49.tar.bz2
最終更新2026-09-29T02:35:55Z
Pulseupdated
macOS 提供ライブラリbzip2
Bottle利用可能 (対象 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

libpcre2-16-0 10.46-1~deb13u1

New Perl Compatible Regular Expression Library - 16 bit runtime files

https://github.com/PCRE2Project/pcre2

sudo apt install libpcre2-16-0
  • Section: libs
  • Architecture: amd64
  • Source Package: pcre2
  • 1 依存関係
  • normalized package name match
  • 一致条件: Pcre2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpcre2-16-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libpcre2-32-0 10.46-1~deb13u1

New Perl Compatible Regular Expression Library - 32 bit runtime files

https://github.com/PCRE2Project/pcre2

sudo apt install libpcre2-32-0
  • Section: libs
  • Architecture: amd64
  • Source Package: pcre2
  • 1 依存関係
  • normalized package name match
  • 一致条件: Pcre2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpcre2-32-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libpcre2-8-0 10.46-1~deb13u1

New Perl Compatible Regular Expression Library- 8 bit runtime files

https://github.com/PCRE2Project/pcre2

sudo apt install libpcre2-8-0
  • Section: libs
  • Architecture: amd64
  • Source Package: pcre2
  • 1 依存関係
  • normalized package name match
  • 一致条件: Pcre2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpcre2-8-0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libpcre2-dev 10.46-1~deb13u1

New Perl Compatible Regular Expression Library - development files

https://github.com/PCRE2Project/pcre2

sudo apt install libpcre2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: pcre2
  • 5 依存関係
  • normalized package name match
  • 一致条件: Pcre2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpcre2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libpcre2-posix3 10.46-1~deb13u1

New Perl Compatible Regular Expression Library - posix-compatible runtime files

https://github.com/PCRE2Project/pcre2

sudo apt install libpcre2-posix3
  • Section: libs
  • Architecture: amd64
  • Source Package: pcre2
  • 2 依存関係
  • normalized package name match
  • 一致条件: Pcre2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpcre2-posix3 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

pcre2-utils 10.46-1~deb13u1

New Perl Compatible Regular Expression Library - utilities

https://github.com/PCRE2Project/pcre2

sudo apt install pcre2-utils
  • Section: utils
  • Architecture: amd64
  • Source Package: pcre2
  • 5 依存関係
  • normalized package name match
  • 一致条件: Pcre2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pcre2-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

pcre2

nix profile install nixpkgs#pcre2
  • normalized package name match
  • 一致条件: Pcre2
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pc/pcre2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libpcre2-16-0 10.42-4ubuntu2

New Perl Compatible Regular Expression Library - 16 bit runtime files

https://pcre.org/

sudo apt install libpcre2-16-0
  • Section: libs
  • Architecture: amd64
  • Source Package: pcre2
  • 1 依存関係
  • normalized package name match
  • 一致条件: Pcre2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpcre2-16-0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libpcre2-32-0 10.42-4ubuntu2

New Perl Compatible Regular Expression Library - 32 bit runtime files

https://pcre.org/

sudo apt install libpcre2-32-0
  • Section: libs
  • Architecture: amd64
  • Source Package: pcre2
  • 1 依存関係
  • normalized package name match
  • 一致条件: Pcre2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpcre2-32-0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libpcre2-8-0 10.42-4ubuntu2

New Perl Compatible Regular Expression Library- 8 bit runtime files

https://pcre.org/

sudo apt install libpcre2-8-0
  • Section: libs
  • Architecture: amd64
  • Source Package: pcre2
  • 1 依存関係
  • normalized package name match
  • 一致条件: Pcre2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpcre2-8-0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libpcre2-dev 10.42-4ubuntu2

New Perl Compatible Regular Expression Library - development files

https://pcre.org/

sudo apt install libpcre2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: pcre2
  • 5 依存関係
  • normalized package name match
  • 一致条件: Pcre2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpcre2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libpcre2-posix3 10.42-4ubuntu2

New Perl Compatible Regular Expression Library - posix-compatible runtime files

https://pcre.org/

sudo apt install libpcre2-posix3
  • Section: libs
  • Architecture: amd64
  • Source Package: pcre2
  • 2 依存関係
  • normalized package name match
  • 一致条件: Pcre2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpcre2-posix3 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

pcre2-utils 10.42-4ubuntu2

New Perl Compatible Regular Expression Library - utilities

https://pcre.org/

sudo apt install pcre2-utils
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: pcre2
  • 5 依存関係
  • normalized package name match
  • 一致条件: Pcre2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pcre2-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libpcre2-16 10.47-r1

PCRE2 with 16 bit character support

https://pcre.org/

sudo apk add libpcre2-16
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: pcre2
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Pcre2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libpcre2-16 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libpcre2-32 10.47-r1

PCRE2 with 32 bit character support

https://pcre.org/

sudo apk add libpcre2-32
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: pcre2
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Pcre2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libpcre2-32 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

pcre2 10.47-r1

Perl-compatible regular expression library

https://pcre.org/

sudo apk add pcre2
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: pcre2
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Pcre2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pcre2 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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