Automic VaultAutomic Vault

brew

Install afio with Homebrew, apt, MacPorts, Nix

Creates cpio-format archives. Version 2.5.2 via Homebrew; verified 2026-07-02.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install afio

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install afio

MacPorts ports tree · archivers/afio/Portfile · source: api.github.com

Linux

Debian aptverified · 92%
sudo apt install afio

Debian stable package indexes · afio · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#afio

nixpkgs package indexes · pkgs/by-name/af/afio/package.nix · source: api.github.com

overview

Package summary

Creates cpio-format archives

Commands and aliases

  • afio

history

Project history and usage

afio is a cpio-format archive tool aimed especially at backup scripts. The official README says it handles input corruption somewhat gracefully, supports interactive multi-volume archives, and can make compressed archives safer than compressed tar or cpio archives.

Project history

The official README says afio is one of the oldest open-source projects around, started in 1985, and is now in maintenance-only mode. Its HISTORY file preserves older context, including Mark Brukhartz/Lachman Associates-era README material describing afio as a better way to deal with cpio-format archives, faster than cpio, more diverse for magnetic tape options, and more graceful with input corruption.

The Linux line of afio passed through Dave Gymer's port, Andrew Stevens' cleanup work, and Koen Holtman's maintenance beginning around version 2.3.5 for Linux. The HISTORY file records additions such as gzip-aware compression handling, backup scripts, new options, verification improvements, and many portability and hard-link fixes through the 2.4 series.

The current maintainer's 2018 note in the README explains the modern maintenance policy: bug fixes, portability fixes, and security fixes are welcome, but major new features are unlikely because the maintainer prioritizes avoiding silent backup failures and because cheap hard drives made afio's old floppy/tape-oriented strengths less central for average Linux users.

Adoption history

afio's adoption sits in traditional Unix backup culture: scripts feed pathnames into afio, and afio writes cpio-format archives to files, pipes, tape devices, or multi-volume media. The supplied package-manager facts list Homebrew, Debian, Ubuntu, MacPorts, and Nix, showing that distributions still carry it for compatibility and existing backup workflows.

The README explicitly warns new users not to start using afio if they have never used it as an archive engine before, but also states that existing users can expect compatibility work for Unix time_t extensions before 2038. That is a rare official statement of legacy maintenance rather than growth.

How it is used

The manpage documents five core modes: -o to create an archive from pathnames on standard input, -i to unpack, -t to list contents, -r to verify an archive against the filesystem, and -p to copy files to directories.

A key usage difference from tar -z style archives is that afio compresses individual files inside the archive rather than the whole archive datastream. The manpage and README both emphasize that this makes compressed afio archives more robust after corruption.

Why package nerds care

afio is package-nerd history in executable form: cpio archives, tape/floppy multi-volume workflows, gzip-per-file compression, remote archive names, and backup-script integration all survived into a maintained GitHub repository.

Its README is unusually honest about maintenance economics and bit-rot risk. That makes the package valuable not only as a tool, but as a case study in how old Unix utilities age: keep compatibility, fix security and portability issues, avoid new backup-destroying surprises.

Timeline

  • 1985: Official README says afio started.
  • 2.3.5: HISTORY records Koen Holtman's Linux maintenance line beginning around this version.
  • 2.4.8beta1: README says support for files greater than 2 GB began.
  • 2018: Maintainer note describes maintenance-only mode.
  • 2.5.2: Current README version with security, multivolume naming, bug, and portability fixes.

Related projects

  • Related projects and concepts include cpio, tar, gzip, magnetic tape backup, floppy backup, rsync, Unix backup scripts, and year-2038 time_t compatibility work.

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:archive

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
afiocliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-07
manager version2.5.2
manager updated2026-07-02
local dataok
upstreamcurrent
latest detectedv2.5.2

https://github.com/kholtman/afio

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:afio
Version2.5.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/afio
Homepagehttps://github.com/kholtman/afio
Repositoryhttps://github.com/kholtman/afio
Upstream docshttps://github.com/kholtman/afio#readme
LicenseLicenseRef-Homebrew-cannot-represent
Source archivehttps://github.com/kholtman/afio/archive/refs/tags/v2.5.2.tar.gz
Last updated2026-07-02T11:12:14-04:00
Pulseupdated
Bottleavailable (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameafio
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

afio 2.5.2-3+b1

archive file manipulation program

https://github.com/kholtman/afio

sudo apt install afio
  • Section: utils
  • Architecture: amd64
  • Source Package: afio
  • 1 dependencies
  • normalized package name match
  • Matched by: Afio
Debian stable package indexes · deb.debian.org · Debian stable package indexes: afio from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

afio

nix profile install nixpkgs#afio
  • normalized package name match
  • Matched by: Afio
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/af/afio/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

afio 2.5.2-3

archive file manipulation program

https://github.com/kholtman/afio

sudo apt install afio
  • Section: multiverse/utils
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Afio
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: afio from https://archive.ubuntu.com/ubuntu/dists/noble/multiverse/binary-amd64/Packages.gz
MacPorts95%

afio

sudo port install afio
  • normalized package name match
  • Matched by: Afio
MacPorts ports tree · api.github.com · MacPorts ports tree: archivers/afio/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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