macOS
brew install libcmphlocal Homebrew formula metadata
sudo port install cmphMacPorts ports tree · textproc/cmph/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für libcmph in AI-Agent-Workflows.
Installation
brew install libcmphlocal Homebrew formula metadata
sudo port install cmphMacPorts ports tree · textproc/cmph/Portfile · Quelle: api.github.com
sudo apk add libcmphAlpine Linux edge package indexes · libcmph · Quelle: dl-cdn.alpinelinux.org
sudo apt install libcmph-devDebian stable package indexes · libcmph-dev · Quelle: deb.debian.org
nix profile install nixpkgs#cmphnixpkgs package indexes · pkgs/by-name/cm/cmph/package.nix · Quelle: api.github.com
Überblick
C minimal perfect hashing library
Verlauf
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.
Sicherheitslage
library-like package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
cmph | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:libcmph |
|---|---|
| Version | 2.0.2 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/libcmph |
| Homepage | https://cmph.sourceforge.net/ |
| Repository | https://sourceforge.net/p/cmph/git |
| Upstream-Dokumentation | https://cmph.sourceforge.net/ |
| Lizenz | LGPL-2.1-only OR MPL-1.1 |
| Quellarchiv | https://downloads.sourceforge.net/project/cmph/v2.0.2/cmph-2.0.2.tar.gz |
| Zuletzt aktualisiert | 2026-06-19T12:31:49-07:00 |
| Pulse | updated |
| Bottle | verfügbar (auf 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 | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libcmph |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
libcmph 2.0.2-r6
A minimal perfect hash C library
sudo apk add libcmphcmph
sudo port install cmphlibcmph-dev 2.0.2-3.1
C Minimal Perfect Hashing Library development files
sudo apt install libcmph-devlibcmph-tools 2.0.2-3.1
C Minimal Perfect Hashing Library command line utilities
sudo apt install libcmph-toolslibcmph0t64 2.0.2-3.1
C Minimal Perfect Hashing Library
sudo apt install libcmph0t64cmph
nix profile install nixpkgs#cmphlibcmph-dev 2.0.2-3.1build1
C Minimal Perfect Hashing Library development files
sudo apt install libcmph-devlibcmph-tools 2.0.2-3.1build1
C Minimal Perfect Hashing Library command line utilities
sudo apt install libcmph-toolslibcmph0t64 2.0.2-3.1build1
C Minimal Perfect Hashing Library
sudo apt install libcmph0t64cmph 2.0.2-r6
A minimal hash C library - utility application
sudo apk add cmphcmph-dev 2.0.2-r6
A minimal hash C library - utility application (development files)
sudo apk add cmph-devcmph-doc 2.0.2-r6
A minimal hash C library - utility application (documentation)
sudo apk add cmph-docQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.