# Install wandio with Homebrew, MacPorts, Nix

Transparently read from and write to zip, bzip2, lzma or zstd archives. Version 4.2.7 via Homebrew; verified 2026-06-10. Also installable with nix: nix profile install nixpkgs#wandio.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install wandio
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install wandio
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:wandio
- **Package manager:** Homebrew
- **Version:** 4.2.7
- **Source summary:** Transparently read from and write to zip, bzip2, lzma or zstd archives
- **Homepage:** <https://github.com/LibtraceTeam/wandio>
- **Repository:** <https://github.com/LibtraceTeam/wandio>
- **Last updated:** 2026-06-10T14:30:06Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- wandiocat (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 4.2.7
## Project history and usage

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.

### Project history

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.

### How it is used

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.

### Why package nerds care

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.

### Sources

- <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/>


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Other Package-Manager Records

- 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)


## Sources

- 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
