Automic VaultAutomic Vault

brew

libcmph を Homebrew, apk, apt, MacPorts, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install libcmph

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install cmph

MacPorts ports tree · textproc/cmph/Portfile · ソース: api.github.com

Linux

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

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

Debian apt確認済み · 92%
sudo apt install libcmph-dev

Debian stable package indexes · libcmph-dev · ソース: deb.debian.org

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

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

概要

パッケージ概要

C minimal perfect hashing library

コマンドとエイリアス

  • cmph

履歴

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

CMPH is a C library and command-line tool for building minimal perfect hash functions. It targets static key sets where compact storage and collision-free lookup matter more than insertion or deletion.

プロジェクトの歴史

The CMPH site frames the project around a gap in free software support for minimal perfect hashing, distinguishing it from GNU gperf by emphasizing very large key sets rather than small generated perfect-hash functions. Its documentation collects several algorithms, including CHD, BDZ, BMZ, BRZ, CHM, and FCH.

By the 1.x and 2.x news entries, CMPH had grown beyond a single algorithm implementation into a practical library with packed-function support, memory-mappable output, an external-memory BRZ path for very large sets, and an experimental C++ interface for map-like use cases.

採用の歴史

CMPH has remained a niche but durable package because minimal perfect hashes are a specialized data-structure tool. It appears in Homebrew, Debian and Ubuntu development packages, MacPorts, Nix, Alpine, and other package collections for developers who need static dictionary or key-index construction.

使われ方

Typical usage is offline construction of a hash function from a fixed key set, followed by storage or embedding of the generated function. The official examples show the C API creating a minimal perfect hash from an in-memory vector and dumping it to a file.

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

CMPH is the kind of package that matters disproportionately to systems and search developers: it packages academic minimal-perfect-hashing algorithms into a reusable C interface and a small CLI. Its appeal is that it turns a static corpus into dense one-probe lookup tables without hauling in a database.

タイムライン

  • 0.9: CHD and CHD_PH support highlighted for compact internal-memory minimal perfect hashes.
  • 1.0: Bugfix-only release before a planned revamp of code and algorithms.
  • 1.1: CHD_PC bug fix and test reorganization.
  • 2.0: Warning cleanup and experimental C++ mph_map and mph_index interface.

Related projects

  • Related projects and concepts include GNU gperf, static hash tables, CHD, BDZ, BMZ, BRZ, CHM, and FCH minimal-perfect-hashing algorithms.

セキュリティ状態

リスクレベル: グリーン

library-like package without higher-risk signals.

リスク分類器

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

理由

  • library-like package without higher-risk signals

信号

  • metadata:library-like

インストール挙動

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

推奨レビュー

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

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

ページ生成日2026-07-08
マネージャ版2.0.2
マネージャ更新日2026-06-19
ローカルデータOK
上流not checked
検出された最新未検出

https://cmph.sourceforge.net/

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:libcmph
バージョン2.0.2
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/libcmph
ホームページhttps://cmph.sourceforge.net/
リポジトリhttps://sourceforge.net/p/cmph/git
上流ドキュメントhttps://cmph.sourceforge.net/
ライセンスLGPL-2.1-only OR MPL-1.1
ソースアーカイブhttps://downloads.sourceforge.net/project/cmph/v2.0.2/cmph-2.0.2.tar.gz
最終更新2026-06-19T12:31:49-07:00
Pulseupdated
Bottle利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

apk95%

libcmph 2.0.2-r6

A minimal perfect hash C library

https://cmph.sourceforge.net/

sudo apk add libcmph
  • License: LGPL-2.0-or-later AND MPL-1.1
  • Architecture: x86_64
  • Source Package: cmph
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Libcmph
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcmph from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
MacPorts94%

cmph

sudo port install cmph
  • installed executable or alias match
  • 一致条件: Cmph
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/cmph/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Debian apt92%

libcmph-dev 2.0.2-3.1

C Minimal Perfect Hashing Library development files

http://cmph.sourceforge.net

sudo apt install libcmph-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: cmph
  • 1 依存関係
  • installed executable or alias match
  • 一致条件: Cmph
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcmph-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libcmph-tools 2.0.2-3.1

C Minimal Perfect Hashing Library command line utilities

http://cmph.sourceforge.net

sudo apt install libcmph-tools
  • Section: utils
  • Architecture: amd64
  • Source Package: cmph
  • 2 依存関係
  • installed executable or alias match
  • 一致条件: Cmph
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcmph-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

libcmph0t64 2.0.2-3.1

C Minimal Perfect Hashing Library

http://cmph.sourceforge.net

sudo apt install libcmph0t64
  • Section: libs
  • Architecture: amd64
  • Source Package: cmph
  • 1 依存関係
  • 1 提供
  • installed executable or alias match
  • 一致条件: Cmph
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libcmph0t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

cmph

nix profile install nixpkgs#cmph
  • installed executable or alias match
  • 一致条件: Cmph
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/cm/cmph/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

libcmph-dev 2.0.2-3.1build1

C Minimal Perfect Hashing Library development files

http://cmph.sourceforge.net

sudo apt install libcmph-dev
  • Section: universe/interpreters
  • Architecture: amd64
  • Source Package: cmph
  • 1 依存関係
  • installed executable or alias match
  • 一致条件: Cmph
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcmph-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

libcmph-tools 2.0.2-3.1build1

C Minimal Perfect Hashing Library command line utilities

http://cmph.sourceforge.net

sudo apt install libcmph-tools
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: cmph
  • 2 依存関係
  • installed executable or alias match
  • 一致条件: Cmph
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcmph-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

libcmph0t64 2.0.2-3.1build1

C Minimal Perfect Hashing Library

http://cmph.sourceforge.net

sudo apt install libcmph0t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: cmph
  • 1 依存関係
  • 1 提供
  • installed executable or alias match
  • 一致条件: Cmph
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libcmph0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk92%

cmph 2.0.2-r6

A minimal hash C library - utility application

https://cmph.sourceforge.net/

sudo apk add cmph
  • License: LGPL-2.0-or-later AND MPL-1.1
  • Architecture: x86_64
  • Source Package: cmph
  • 1 依存関係
  • 1 提供
  • installed executable or alias match
  • 一致条件: Cmph
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cmph from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

cmph-dev 2.0.2-r6

A minimal hash C library - utility application (development files)

https://cmph.sourceforge.net/

sudo apk add cmph-dev
  • License: LGPL-2.0-or-later AND MPL-1.1
  • Architecture: x86_64
  • Source Package: cmph
  • 1 依存関係
  • 1 提供
  • installed executable or alias match
  • 一致条件: Cmph
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cmph-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk92%

cmph-doc 2.0.2-r6

A minimal hash C library - utility application (documentation)

https://cmph.sourceforge.net/

sudo apk add cmph-doc
  • License: LGPL-2.0-or-later AND MPL-1.1
  • Architecture: x86_64
  • Source Package: cmph
  • installed executable or alias match
  • 一致条件: Cmph
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cmph-doc 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
  • 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