Automic VaultAutomic Vault

brew

Installer libcmph avec Homebrew, apk, apt, MacPorts, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de libcmph pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install libcmph

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install cmph

MacPorts ports tree · textproc/cmph/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add libcmph

Alpine Linux edge package indexes · libcmph · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install libcmph-dev

Debian stable package indexes · libcmph-dev · Source: deb.debian.org

Nixvérifié · 92%
nix profile install nixpkgs#cmph

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

aperçu

Résumé du paquet

C minimal perfect hashing library

Commandes et alias

  • cmph

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

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

posture de sécurité

Niveau de risque : vert

library-like package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • library-like package without higher-risk signals

Signaux

  • metadata:library-like

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 13 plateformes.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
cmphcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-08
version du gestionnaire2.0.2
gestionnaire mis à jour2026-06-19
données localesOK
amontnot checked
dernière version détectéenon détecté

https://cmph.sourceforge.net/

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:libcmph
Version2.0.2
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/libcmph
Page d'accueilhttps://cmph.sourceforge.net/
Dépôthttps://sourceforge.net/p/cmph/git
Docs amonthttps://cmph.sourceforge.net/
LicenceLGPL-2.1-only OR MPL-1.1
Archive sourcehttps://downloads.sourceforge.net/project/cmph/v2.0.2/cmph-2.0.2.tar.gz
Dernière mise à jour2026-06-19T12:31:49-07:00
Pulseupdated
Bouteilledisponible (sur arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

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 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • installed executable or alias match
  • Correspondance par : 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 Dépendances
  • installed executable or alias match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • installed executable or alias match
  • Correspondance par : 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
  • Correspondance par : 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 Dépendances
  • installed executable or alias match
  • Correspondance par : 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 Dépendances
  • installed executable or alias match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • installed executable or alias match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • installed executable or alias match
  • Correspondance par : 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 Dépendances
  • 1 fournit
  • installed executable or alias match
  • Correspondance par : 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
  • Correspondance par : 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

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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