# 使用 Homebrew, MacPorts, Nix 安装 wandio

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

## 安装

```sh
sudo av install brew:wandio
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install wandio
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install wandio
```

  证据: MacPorts ports tree: devel/wandio/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#wandio
```

  证据: nixpkgs package indexes: pkgs/by-name/wa/wandio/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:wandio
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/wandio>
- **版本:** 4.2.7
- **来源摘要:** Transparently read from and write to zip, bzip2, lzma or zstd archives
- **主页:** <https://github.com/LibtraceTeam/wandio>
- **仓库:** <https://github.com/LibtraceTeam/wandio>
- **许可证:** LGPL-3.0-or-later
- **源码归档:** <https://github.com/LibtraceTeam/wandio/archive/refs/tags/4.2.7-1.tar.gz>
- **最后更新:** 2026-06-10T14:30:06Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- wandiocat (cli)
- wandiocat (别名)

## 依赖

- lz4
- lzo
- xz
- zstd

## 构建依赖

- autoconf
- automake
- libtool

## macOS 提供的库

- bzip2
- curl

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 4.2.7
- 管理器更新时间: 2026-06-10
- 本地数据: OK
- 上游仓库: https://github.com/LibtraceTeam/wandio
- 检测到的最新版本: 4.2.7-1 (当前)
## 项目历史与用法

wandio is a small C I/O library from the Libtrace team for reading and writing files with transparent compression and optional background-thread compression or decompression. It is best understood as infrastructure below packet-trace tooling rather than as an end-user archive program.

### 项目历史

The Libtrace project is a packet-trace capture and processing library associated with the University of Waikato's networking research ecosystem. wandio supplies the compressed and remote file I/O layer used by that family of tools, letting trace-oriented programs read gzip, bzip2, lzma, zstd, lz4, HTTP, and other streams through one API when the relevant libraries are available.

The release history shows maintenance around compression formats, HTTP behavior, and correctness. The 4.1.0 release in February 2019 added features around Swift reading and related contributions, 4.2.x releases fixed lz4, bzip2, HTTP, and suffix-based compression detection behavior, and 4.2.7-1 in June 2026 fixed zstd/lz4 length checking.

### 使用方式

wandio is used by developers who need libtrace-style file input and output without special-casing each compression container. The included `wandiocat` utility exposes that layer from the command line, but the main value is the C library API for programs that process large trace files and want streaming decompression or compression offloaded to another thread.

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

Its package significance is niche but real: it packages a reusable piece of systems plumbing from the packet-trace world. Instead of each trace-processing tool learning every compression library and remote-reader detail, wandio centralizes that behavior behind a small LGPL-licensed library.

### 来源

- <https://github.com/LibtraceTeam/libtrace>
- <https://github.com/LibtraceTeam/wandio>
- <https://github.com/LibtraceTeam/wandio/releases>
- <https://github.com/LibtraceTeam/wandio/wiki>
- <https://www.waikato.ac.nz/int/research/institutes-centres-entities/entities/cosi/>


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** wandio
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Nix - wandio: normalized package name match | nixpkgs package indexes: pkgs/by-name/wa/wandio/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - wandio: normalized package name match | MacPorts ports tree: devel/wandio/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [xz](https://pkg.so/zh-hans/brew/xz/) - Runtime dependency declared by Homebrew.
- [zstd](https://pkg.so/zh-hans/brew/zstd/) - Runtime dependency declared by Homebrew.
- [lz4](https://pkg.so/zh-hans/brew/lz4/) - Runtime dependency declared by Homebrew.
- [libtool](https://pkg.so/zh-hans/brew/libtool/) - Build dependency declared by Homebrew.
- [autoconf](https://pkg.so/zh-hans/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/zh-hans/brew/automake/) - Build dependency declared by Homebrew.
- [libtrace](https://pkg.so/zh-hans/brew/libtrace/) - Popular package that depends on this formula.
- [bgpstream](https://pkg.so/zh-hans/brew/bgpstream/) - Popular package that depends on this formula.
- [pcre2](https://pkg.so/zh-hans/brew/pcre2/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools.
- [ncurses](https://pkg.so/zh-hans/brew/ncurses/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools.
- [brotli](https://pkg.so/zh-hans/brew/brotli/) - Shares pkgdb curated category or tags: cli, compression, developer-tools.
- [expat](https://pkg.so/zh-hans/brew/expat/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools.
- [libgpg-error](https://pkg.so/zh-hans/brew/libgpg-error/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools.
- [libevent](https://pkg.so/zh-hans/brew/libevent/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools.
- [libarchive](https://pkg.so/zh-hans/brew/libarchive/) - Shares pkgdb curated category or tags: cli, compression, developer-tools.
- [oniguruma](https://pkg.so/zh-hans/brew/oniguruma/) - Shares pkgdb curated category or tags: c-library, cli, developer-tools.
- [zchunk](https://pkg.so/zh-hans/brew/zchunk/) - Local package facts share a topical domain. Shared terms: cli, compression, developer, developer-tools, file.
- [mtbl](https://pkg.so/zh-hans/brew/mtbl/) - Local package facts share a topical domain. Shared terms: c-library, cli, developer, developer-tools, lz4.
- [micromamba](https://pkg.so/zh-hans/brew/micromamba/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, lz4, xz.

## Combined YAML source

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


## 来源

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