macOS
brew install idutilslocal Homebrew formula metadata
sudo port install idutilsMacPorts ports tree · devel/idutils/Portfile · 来源: api.github.com
安装
brew install idutilslocal Homebrew formula metadata
sudo port install idutilsMacPorts ports tree · devel/idutils/Portfile · 来源: api.github.com
nix profile install nixpkgs#idutilsnixpkgs package indexes · pkgs/by-name/id/idutils/package.nix · 来源: api.github.com
sudo zypper install idutilsopenSUSE Tumbleweed package metadata · idutils · 来源: download.opensuse.org
概览
ID database and query tools
历史
GNU idutils is a family of command-line tools for building and querying an ID database: a token index over a set of files. The manual describes the database as containing file names, tokens, and a sparse matrix connecting tokens to the files where they appear.
The package sits in the lineage of pre-LSP code navigation: mkid builds the index, lid and related tools query it, and developers get fast answers about identifiers, includes, strings, and file names across large source trees.
The mkid program predates GNU idutils. The historical notes preserved in the idutils source tree say Greg McGary posted mkid to comp.sources.unix in September 1987; Tom Horsley later led maintenance and released mkid2 in March 1991; McGary resumed maintenance until 2000.
GNU idutils generalized that idea into a suite: mkid for database creation, lid for token queries, fid for tokens in files, fnid for file-name lookup, xtokid for scanner testing, and historical specializations of lid. The GNU manual presents the tools as useful for large software projects and large text collections.
GNU release archives show packaged id-utils 3.2 in 1996, a 4.0 release in 2005, 4.x releases through 2012, and a Savannah git repository for the maintained source.
idutils belongs to the older Unix developer-tool ecosystem alongside ctags, etags, grep, find, and early source browsers. Its adoption came from users who wanted a reusable token index before interactive IDE indexing became common.
Package metadata shows it remains available through Homebrew, MacPorts, Nix, and openSUSE-style package names. That longevity matters: the tool has outlived many editor-specific indexing systems because it is small, scriptable, and independent of any single editor.
A typical workflow is to run mkid over a source tree and then query the resulting database with lid or related commands. The manual's examples include finding files that reference a header, searching memos for a project token, and invoking an editor on files containing a function or variable.
Although ID originally stood for identifier, the manual is explicit that idutils indexes more than identifiers: it also treats numeric constants and some string contents as searchable tokens.
GNU idutils is interesting because it packages source-code navigation as plain Unix data plumbing. The ID database is a compact artifact that can be regenerated, moved, queried, and scripted without a language server or project model.
It also preserves a pre-web-search, pre-IDE philosophy of code search: build a specialized local index once, then answer many small questions quickly from shell commands.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
aid | cli | 全局可执行文件 | |
defid | cli | 全局可执行文件 | |
eid | cli | 全局可执行文件 | |
fid | cli | 全局可执行文件 | |
fnid | cli | 全局可执行文件 | |
lid | cli | 全局可执行文件 | |
mkid | cli | 全局可执行文件 | |
xtokid | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.gnu.org/software/idutils/
安装元数据
| 软件包键 | brew:idutils |
|---|---|
| 版本 | 4.6 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/idutils |
| 主页 | https://www.gnu.org/software/idutils/ |
| 仓库 | https://git.savannah.gnu.org/cgit/idutils.git |
| 上游文档 | https://www.gnu.org/software/idutils |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://ftpmirror.gnu.org/gnu/idutils/idutils-4.6.tar.xz |
| 最后更新 | 2026-06-09T14:55:45+02:00 |
| Pulse | updated |
| 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | idutils |
| Version Scheme | 0 |
| Revision | 1 |
| Conflicts With |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
idutils
nix profile install nixpkgs#idutilsidutils 4.6-5.6
Language-Independent Identifier Database Tool
http://www.gnu.org/software/idutils/
sudo zypper install idutilsidutils-lang 4.6-5.6
Translations for package idutils
http://www.gnu.org/software/idutils/
sudo zypper install idutils-langidutils
sudo port install idutils来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.