# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, winget 安装 atool

查看 atool 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:atool
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install atool
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install atool
```

  证据: MacPorts ports tree: archivers/atool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add atool
```

  证据: Alpine Linux edge package indexes: atool from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install atool
```

  证据: Debian stable package indexes: atool from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install atool
```

  证据: Fedora Rawhide package metadata: atool from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#atool
```

  证据: nixpkgs package indexes: pkgs/by-name/at/atool/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S atool
```

  证据: Arch Linux sync databases: atool from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install atool
```

  证据: openSUSE Tumbleweed package metadata: atool from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id Intel.ACAT -e
```

  证据: Windows Package Manager source index: Intel.ACAT from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:atool
- **软件包管理器:** Homebrew
- **版本:** 0.39.0
- **来源摘要:** Archival front-end
- **主页:** <https://savannah.nongnu.org/projects/atool/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- acat (别名)
- adiff (别名)
- apack (别名)
- arepack (别名)
- atool (别名)
- aunpack (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

atool is a Perl command-line front end for archive management. Its command family wraps external archivers behind consistent verbs for extracting, packing, listing, concatenating, diffing, and repacking archives.

### 项目历史

The official Savannah project page describes atool as a script for managing many archive types, including tar, tar+gzip, and zip. The project is administered by Oskar Liljeblad, is listed as non-GNU software on Savannah, and was registered there on 5 July 2005 with production/stable status.

The 0.39.0 release tarball's NEWS file shows a longer pre-Savannah history, with releases documented back to at least 2002 and copyright years beginning in 2001. The 2005 Savannah-era 0.30.0 release added 7-Zip, ALZip, and Debian package support; 0.31.0 quickly followed with a serious adiff symlink-removal bug fix and the arepack command.

Later releases expanded archive support and portability: Cabinet archives in 0.32.0, lzma in 0.34.0, rzip/lrzip/pbzip2 and configurable file-based detection in 0.35.0, xz/lzip in 0.37.0, and plzip, lbzip2, and pigz support in 0.39.0.

### 采用历史

atool's adoption comes from its promise to make archive commands predictable. Savannah's project description highlights aunpack's safer extraction behavior: it extracts into a temporary directory first, avoids scattering archive contents, and prevents local files from being overwritten by mistake.

The input package facts show atool packaged across Homebrew, Debian, Ubuntu, Fedora, Alpine, Arch, MacPorts, Nix, and openSUSE. That broad packaging footprint fits a mature Unix utility whose value is not novelty but muscle memory: packagers expose one small Perl script and users get a uniform interface over many archiver binaries.

### 使用方式

The man page documents separate commands for common operations: `aunpack` extracts, `apack` creates archives, `als` lists, `acat` writes archived files to stdout, `adiff` compares archives, and `arepack` converts between archive formats.

atool detects archive formats by extension unless the user supplies a format, falling back to `file` for difficult cases such as rar-style numeric extensions when configured. Configuration is simple key/value text loaded from hardcoded defaults, `/etc/atool.conf`, then `~/.atoolrc`, with `--config` and `--option` overrides for one-off runs.

### 为什么软件包爱好者会关心

atool is a classic package-nerd utility: it is small, scriptable, old, and useful because it normalizes other command-line tools rather than replacing them. Its dependencies are the archive programs already found in Unix package sets.

It also has the kind of changelog package maintainers care about. Archive format support, safe extraction semantics, symlink bugs, macOS build fixes, and compression-tool detection are all practical downstream concerns.

### 时间线

- 2001: Earliest copyright year in the official 0.39.0 man page.
- 2002: NEWS documents atool 0.23.0 and 0.25.0 releases.
- 2005-07: Savannah project registration and atool 0.30.0 release.
- 2005-08: atool 0.31.0 fixed a serious adiff symlink-removal bug and added arepack.
- 2008: 0.35.0 added rzip, lrzip, pbzip2, and more file-identification options.
- 2009: 0.37.0 added lzip and xz support.
- 2012: 0.39.0 added plzip, lbzip2, and pigz support.

### Related projects

- atool is conceptually adjacent to libarchive/bsdtar, p7zip, unrar, unzip, tar, gzip, bzip2, xz, and other archiver commands. Unlike libarchive-based tools, atool is a coordinator over external programs.

### 来源

- Official Savannah project page.
- Official Savannah release index.
- Official atool 0.39.0 NEWS and atool.1 from release tarball.
- input source_facts.package-manager.


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/atool.conf, ~/.atoolrc
## 其他软件包管理器记录

- Debian apt - atool - 0.39.0-14: normalized package name match | Debian stable package indexes: atool from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tool for managing file archives of various types | https://www.nongnu.org/atool/
- Nix - atool: normalized package name match | nixpkgs package indexes: pkgs/by-name/at/atool/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - atool - 0.39.0-14: normalized package name match | Ubuntu 24.04 LTS package indexes: atool from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | tool for managing file archives of various types | https://www.nongnu.org/atool/
- apk - atool - 0.39.0-r4: normalized package name match | Alpine Linux edge package indexes: atool from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | a Perl script for managing file archives of various types | https://nongnu.org/atool/
- apk - atool-bash-completion - 0.39.0-r4: normalized package name match | Alpine Linux edge package indexes: atool-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for atool | https://nongnu.org/atool/
- apk - atool-doc - 0.39.0-r4: normalized package name match | Alpine Linux edge package indexes: atool-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | a Perl script for managing file archives of various types (documentation) | https://nongnu.org/atool/
- dnf - atool - 0.39.0-40.fc45: normalized package name match | Fedora Rawhide package metadata: atool from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A Perl script for managing file archives of various types | https://www.nongnu.org/atool/
- pacman - atool - 0.39.0-10: normalized package name match | Arch Linux sync databases: atool from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A script for managing file archives of various types | https://www.nongnu.org/atool
- zypper - atool - 0.39.0-6.3: normalized package name match | openSUSE Tumbleweed package metadata: atool from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Commandline Tool for Managing File Archives of various Types | http://www.nongnu.org/atool/
- MacPorts - atool: normalized package name match | MacPorts ports tree: archivers/atool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - Intel.ACAT: installed executable or alias match | Windows Package Manager source index: Intel.ACAT from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/atool.yml](https://github.com/mxcl/pkgdb/blob/main/combined/atool.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
