# afio を Homebrew, apt, MacPorts, Nix でインストール

afio のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:afio
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install afio
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install afio
```

  証拠: MacPorts ports tree: archivers/afio/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install afio
```

  証拠: Debian stable package indexes: afio from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#afio
```

  証拠: nixpkgs package indexes: pkgs/by-name/af/afio/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:afio
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/afio>
- **バージョン:** 2.5.2
- **ソース概要:** Creates cpio-format archives
- **ホームページ:** <https://github.com/kholtman/afio>
- **リポジトリ:** <https://github.com/kholtman/afio>
- **上流ドキュメント:** <https://github.com/kholtman/afio#readme>
- **ライセンス:** LicenseRef-Homebrew-cannot-represent
- **ソースアーカイブ:** <https://github.com/kholtman/afio/archive/refs/tags/v2.5.2.tar.gz>
- **最終更新:** 2026-07-02T11:12:14-04:00
- **生成日時:** 2026-07-08T07:18:31+00:00

## 実行可能ファイル

- afio (cli)
- afio (エイリアス)

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 2.5.2
- マネージャ更新日: 2026-07-02
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/kholtman/afio
- 検出された最新: v2.5.2 (最新)
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

- <https://github.com/kholtman/afio/blob/master/HISTORY>
- <https://github.com/kholtman/afio/blob/master/README>
- <https://github.com/kholtman/afio/blob/master/afio.1>
- source_facts.package-manager
- source_facts.repo


## セキュリティノート

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:** afio
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 他のパッケージマネージャ記録

- Debian apt - afio - 2.5.2-3+b1: normalized package name match | Debian stable package indexes: afio from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | archive file manipulation program | https://github.com/kholtman/afio
- Nix - afio: normalized package name match | nixpkgs package indexes: pkgs/by-name/af/afio/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - afio - 2.5.2-3: normalized package name match | Ubuntu 24.04 LTS package indexes: afio from https://archive.ubuntu.com/ubuntu/dists/noble/multiverse/binary-amd64/Packages.gz | archive file manipulation program | https://github.com/kholtman/afio
- MacPorts - afio: normalized package name match | MacPorts ports tree: archivers/afio/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [borgbackup](https://www.automicvault.com/ja/pkg/brew/borgbackup/) - Shares av.db curated category or tags: archive, backup, cli, system.
- [bacula-fd](https://www.automicvault.com/ja/pkg/brew/bacula-fd/) - Shares av.db curated category or tags: backup, cli, system.
- [borgmatic](https://www.automicvault.com/ja/pkg/brew/borgmatic/) - Shares av.db curated category or tags: backup, cli, system.
- [bup](https://www.automicvault.com/ja/pkg/brew/bup/) - Shares av.db curated category or tags: backup, cli, system.
- [bupstash](https://www.automicvault.com/ja/pkg/brew/bupstash/) - Shares av.db curated category or tags: backup, cli, system.
- [burp](https://www.automicvault.com/ja/pkg/brew/burp/) - Shares av.db curated category or tags: backup, cli, system.
- [dar](https://www.automicvault.com/ja/pkg/brew/dar/) - Shares av.db curated category or tags: backup, cli, system.
- [duplicity](https://www.automicvault.com/ja/pkg/brew/duplicity/) - Shares av.db curated category or tags: backup, cli, system.
- [httm](https://www.automicvault.com/ja/pkg/brew/httm/) - Local package facts share a topical domain. Shared terms: backup, cli, system.
- [redu](https://www.automicvault.com/ja/pkg/brew/redu/) - Local package facts share a topical domain. Shared terms: backup, cli, system.
- [rsync-time-backup](https://www.automicvault.com/ja/pkg/brew/rsync-time-backup/) - Local package facts share a topical domain. Shared terms: backup, cli, system.

## Combined YAML source

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


## ソース

- 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
