# 使用 Homebrew, apk, apt 安装 i2util

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

## 安装

```sh
sudo av install brew:i2util
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install i2util
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add i2util
```

  证据: Alpine Linux edge package indexes: i2util from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Ubuntu apt (92%):

```sh
sudo apt install i2util-tools
```

  证据: Ubuntu 24.04 LTS package indexes: i2util-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

## 软件包事实

- **软件包键:** brew:i2util
- **软件包管理器:** Homebrew
- **版本:** 5.2.6
- **来源摘要:** Internet2 utility tools
- **主页:** <https://github.com/perfsonar/i2util>
- **仓库:** <https://github.com/perfsonar/i2util>
- **最后更新:** 2026-07-21T15:25:45Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- aespasswd (别名)
- pfstore (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 5.2.6
## 项目历史与用法

i2util is an Internet2 and perfSONAR utility library and tool package. It provides common C support code for command-line parsing, error logging, threading, random numbers, hash tables, address handling, passphrase/key-file helpers, and the aespasswd and pfstore executables.

### 项目历史

The in-tree README says I2util began from utility code distributed with UCAR's volsh code and was reused because it was freely distributed. Internet2 then added local support for random numbers and hash tables, and the older ChangeLog shows the library being split and generalized for OWAMP and BWCTL-related code.

The ChangeLog records an import in April 2002, early work on error logging and command-line options, hash-table support, random-device handling, and later additions such as aespasswd, PBKDF2, HMAC-SHA1, SHA-1 tests, socket/address helpers, and standalone installability.

The GitHub repository was created in 2015 under the perfSONAR organization and uses tags in the v5.x series. The configure script identifies the package as I2util and points bug reports to the OWAMP/Internet2 side of the ecosystem.

### 采用历史

i2util's adoption is mostly indirect. The GitHub repository description says it is the command-line parsing, error logging, and threading library used by BWCTL, OWAMP, and other tools. It appears in package managers because those network-measurement packages and their helper commands need a shared utility layer.

Homebrew exposes aespasswd and pfstore, making the otherwise library-oriented package visible as a small CLI package for users working with perfSONAR or Internet2 measurement stacks.

### 使用方式

Developers use i2util as a support library inside measurement tools. Operators encounter it through helper commands, especially aespasswd for managing key files and pfstore for passphrase storage workflows used by related Internet2 software.

The package is not a general-purpose end-user network tool; it is infrastructure glue for the perfSONAR and Internet2 family.

### 为什么软件包爱好者会关心

i2util is package-nerd significant precisely because it is glue. It is the sort of small, old, C utility library that lets larger measurement tools remain consistent about logging, options, randomness, threading, and key handling across Unix-like systems.

Its history also preserves an older network-research packaging path: CVS-era ChangeLogs, autoconf, static libraries, manpages, RPM/package work, and later migration into GitHub and Homebrew formulas.

### 时间线

- 2002: I2util was imported from volsh-derived utility code and began as a reusable library.
- 2003: aespasswd support was added for managing key files.
- 2007: ChangeLog entries describe making I2util a standalone installable library for BWCTL and OWAMP packaging.
- 2015: The perfSONAR GitHub repository was created.
- 2026: Homebrew tracked the v5.2.5 source tag.

### Related projects

- Related projects include perfSONAR, BWCTL, OWAMP, Internet2's historical measurement tools, UCAR volsh, and the perfSONAR unibuild packaging system.

### 来源

- <https://formulae.brew.sh/formula/i2util>
- <https://github.com/perfsonar/i2util>
- <https://raw.githubusercontent.com/perfsonar/i2util/master/I2util/I2util/ChangeLog>
- <https://raw.githubusercontent.com/perfsonar/i2util/master/I2util/I2util/README.md>
- <https://raw.githubusercontent.com/perfsonar/i2util/master/I2util/I2util/configure.ac>


## 安全说明

没有找到 i2util 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- Ubuntu apt - i2util-tools - 1.6-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: i2util-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Internet2 utility tools | https://github.com/perfsonar/i2util
- Ubuntu apt - libi2util-dev - 1.6-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libi2util-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Internet2 utility library (development files) | https://github.com/perfsonar/i2util
- apk - i2util - 4.2.1-r1: normalized package name match | Alpine Linux edge package indexes: i2util from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Internet2 utility library | https://github.com/perfsonar/i2util
- apk - i2util-dev - 4.2.1-r1: normalized package name match | Alpine Linux edge package indexes: i2util-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Internet2 utility library (development files) | https://github.com/perfsonar/i2util
- apk - i2util-doc - 4.2.1-r1: normalized package name match | Alpine Linux edge package indexes: i2util-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Internet2 utility library (documentation) | https://github.com/perfsonar/i2util


## Combined YAML source

View the package source record on GitHub. [combined/i2util.yml](https://github.com/mxcl/pkgdb/blob/main/combined/i2util.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
