# 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.

## 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
- **Package manager page:** <https://formulae.brew.sh/formula/wandio>
- **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>
- **Upstream docs:** <https://github.com/LibtraceTeam/wandio#readme>
- **License:** LGPL-3.0-or-later
- **Source archive:** <https://github.com/LibtraceTeam/wandio/archive/refs/tags/4.2.7-1.tar.gz>
- **Last updated:** 2026-06-10T14:30:06Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- wandiocat (cli)
- wandiocat (alias)

## Dependencies

- lz4
- lzo
- xz
- zstd

## Build dependencies

- autoconf
- automake
- libtool

## Uses from macOS

- bzip2
- curl

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 4.2.7
- Package-manager updated: 2026-06-10
- Local data: ok
- Upstream repository: https://github.com/LibtraceTeam/wandio
- Upstream latest detected: 4.2.7-1 (current)
## 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

## Source Database Details

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

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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [lz4](https://www.automicvault.com/pkg/brew/lz4/) - Runtime dependency declared by Homebrew.
- [xz](https://www.automicvault.com/pkg/brew/xz/) - Runtime dependency declared by Homebrew.
- [zstd](https://www.automicvault.com/pkg/brew/zstd/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [bgpstream](https://www.automicvault.com/pkg/brew/bgpstream/) - Popular package that depends on this formula.
- [libtrace](https://www.automicvault.com/pkg/brew/libtrace/) - Popular package that depends on this formula.
- [cdk](https://www.automicvault.com/pkg/brew/cdk/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries.
- [expat](https://www.automicvault.com/pkg/brew/expat/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries.
- [fstrm](https://www.automicvault.com/pkg/brew/fstrm/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries.
- [libdeflate](https://www.automicvault.com/pkg/brew/libdeflate/) - Shares av.db curated category or tags: cli, compression, developer-tools, libraries.
- [libevent](https://www.automicvault.com/pkg/brew/libevent/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries.
- [libxml2](https://www.automicvault.com/pkg/brew/libxml2/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries.
- [libxo](https://www.automicvault.com/pkg/brew/libxo/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries.
- [libxslt](https://www.automicvault.com/pkg/brew/libxslt/) - Shares av.db curated category or tags: c-library, cli, developer-tools, libraries.
- [zchunk](https://www.automicvault.com/pkg/brew/zchunk/) - Local package facts share a topical domain. Shared terms: cli, compression, developer, developer-tools, file.
- [mtbl](https://www.automicvault.com/pkg/brew/mtbl/) - Local package facts share a topical domain. Shared terms: c-library, cli, developer, developer-tools, lz4.

## Combined YAML source

View the package source record on GitHub. [combined/wandio.yml](https://github.com/automic-vault/db/blob/main/combined/wandio.yml)


## Sources

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