macOS
brew install gperflocal Homebrew formula metadata
sudo port install gperfMacPorts ports tree · devel/gperf/Portfile · ソース: api.github.com
brew
gperf のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install gperflocal Homebrew formula metadata
sudo port install gperfMacPorts ports tree · devel/gperf/Portfile · ソース: api.github.com
sudo apk add gperfAlpine Linux edge package indexes · gperf · ソース: dl-cdn.alpinelinux.org
sudo apt install gperfDebian stable package indexes · gperf · ソース: deb.debian.org
sudo dnf install gperfFedora Rawhide package metadata · gperf · ソース: dl.fedoraproject.org
nix profile install nixpkgs#gperfnixpkgs package indexes · pkgs/by-name/gp/gperf/package.nix · ソース: api.github.com
sudo pacman -S gperfArch Linux sync databases · gperf · ソース: geo.mirror.pkgbuild.com
sudo zypper install gperfopenSUSE Tumbleweed package metadata · gperf · ソース: download.opensuse.org
choco install gperfChocolatey community package catalog · gperf · ソース: community.chocolatey.org
winget install --id oss-winget.gperf -eWindows Package Manager source index · oss-winget.gperf · ソース: cdn.winget.microsoft.com
概要
Perfect hash function generator
履歴
GNU gperf is the GNU perfect hash function generator: it reads a static set of keywords and emits C or C++ lookup code designed for collision-free recognition with one string comparison.
The GNU manual says the gperf utility was written in GNU C++ by Douglas C. Schmidt, with the general idea inspired by Keith Bostic's C algorithm distributed to net.sources around 1984. The manual frames the GNU program as a heavily modified, enhanced, and extended implementation created at the University of California, Irvine.
gperf belongs to the classic Unix compiler-tool family. Its input format resembles tools such as lex in using declarations and `%%` separators, while its output is ordinary C or C++ source that can be checked into or generated during builds.
GNU documents gperf as useful for static search sets such as compiler reserved words, assembler instruction opcodes, and shell built-ins. That made it attractive in source-based packaging ecosystems because generated lookup tables can be fast, deterministic, and dependency-light.
The GNU project page distributes gperf through the GNU FTP mirror network and points development to the Savannah project, placing it in the same distribution pattern as many older GNU build-time utilities. Homebrew, Debian, Ubuntu, Fedora, Arch, Nix, MacPorts, Chocolatey, and other package systems carry packages for it in the input metadata, reflecting its role as a small but widely available build dependency.
A user supplies a keyword file, optionally including struct declarations and gperf declarations, and gperf writes generated lookup code. The GNU page describes options for C or C++ output, switch statements or nested if statements instead of a hash table, and algorithm tuning.
Typical use is not interactive end-user work but build-time code generation. Projects use it when a fixed vocabulary needs fast membership tests without maintaining handwritten hash tables.
Package maintainers care about gperf because it often appears as a small build requirement that is easy to miss when bootstrapping language runtimes, compilers, and parser-heavy tools. It is old, tiny, and boring in the good way: a generated C file is easier to ship than a runtime dependency.
It also illustrates a packaging distinction between generated artifacts and generators. Some upstreams ship generated source, while others require gperf at build time, so package recipes need to know whether gperf is a native build tool or merely an optional maintainer tool.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
gperf | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://www.gnu.org/software/gperf/
インストールメタデータ
| パッケージキー | brew:gperf |
|---|---|
| バージョン | 3.3 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/gperf |
| ホームページ | https://www.gnu.org/software/gperf/ |
| リポジトリ | https://git.savannah.gnu.org/cgit/gperf.git |
| 上流ドキュメント | https://www.gnu.org/software/gperf |
| ライセンス | GPL-3.0-or-later |
| ソースアーカイブ | https://ftpmirror.gnu.org/gnu/gperf/gperf-3.3.tar.gz |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gperf |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
gperf 3.2.1-1
Perfect hash function generator
http://www.gnu.org/software/gperf/
sudo apt install gperfgperf
nix profile install nixpkgs#gperfgperf 3.1-1build1
Perfect hash function generator
http://www.gnu.org/software/gperf/
sudo apt install gperfgperf 3.3-r0
Perfect hash function generator.
https://www.gnu.org/software/gperf/
sudo apk add gperfgperf-doc 3.3-r0
Perfect hash function generator. (documentation)
https://www.gnu.org/software/gperf/
sudo apk add gperf-docgperf 3.2.1-3.fc44
A perfect hash function generator
http://www.gnu.org/software/gperf/
sudo dnf install gperfgperf 3.3-2
Perfect hash function generator
https://www.gnu.org/software/gperf/
sudo pacman -S gperfgperf 3.3-1.3
A Compiler Tool for Generating Perfect Hash Functions
https://gnu.org/software/gperf/
sudo zypper install gperfgperf
sudo port install gperfgperf
choco install gperfoss-winget.gperf
winget install --id oss-winget.gperf -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.