# 使用 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
- **版本:** 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>
- **最后更新:** 2026-06-10T14:30:06Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- wandiocat (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
