Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix, zypper 安装 idutils

查看 idutils 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install idutils

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install idutils

MacPorts ports tree · devel/idutils/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#idutils

nixpkgs package indexes · pkgs/by-name/id/idutils/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install idutils

openSUSE Tumbleweed package metadata · idutils · 来源: download.opensuse.org

概览

软件包摘要

ID database and query tools

命令和别名

  • aid
  • defid
  • eid
  • fid
  • fnid
  • lid
  • mkid
  • xtokid

历史

项目历史与用法

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.

时间线

  • 1987-09: mkid is posted to comp.sources.unix.
  • 1991-03: mkid2 is released to comp.sources.unix.
  • 1996-08-12: id-utils 3.2 appears in GNU FTP archives.
  • 2005-12-23: id-utils 4.0 appears in GNU FTP archives.
  • 2010-06-17: idutils 4.5 appears in GNU FTP archives.
  • 2012-02-03: idutils 4.6 appears in GNU FTP archives.

Related projects

  • ctags, etags, grep, find, and later code-search tools such as GNU Global occupy adjacent code-navigation territory.
  • The mkid lineage is the direct ancestor inside the idutils package history.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:database

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
aidcli全局可执行文件
defidcli全局可执行文件
eidcli全局可执行文件
fidcli全局可执行文件
fnidcli全局可执行文件
lidcli全局可执行文件
mkidcli全局可执行文件
xtokidcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本4.6
管理器更新时间2026-06-09
本地数据OK
上游not checked
检测到的最新版本未检测到

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
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 Nameidutils
Version Scheme0
Revision1
Conflicts With
  • coreutils
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

idutils

nix profile install nixpkgs#idutils
  • normalized package name match
  • 匹配方式:Idutils
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/id/idutils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
zypper95%

idutils 4.6-5.6

Language-Independent Identifier Database Tool

http://www.gnu.org/software/idutils/

sudo zypper install idutils
  • License: GPL-2.0-or-later
  • Category: Productivity/Text/Utilities
  • Architecture: x86_64
  • Source Package: idutils
  • 2 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Idutils
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: idutils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

idutils-lang 4.6-5.6

Translations for package idutils

http://www.gnu.org/software/idutils/

sudo zypper install idutils-lang
  • License: GPL-2.0-or-later
  • Category: System/Localization
  • Architecture: noarch
  • Source Package: idutils
  • 1 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Idutils
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: idutils-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

idutils

sudo port install idutils
  • normalized package name match
  • 匹配方式:Idutils
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/idutils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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