# afsctool mit Homebrew, MacPorts, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für afsctool in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:afsctool
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install afsctool
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install afsctool
```

  Evidenz: MacPorts ports tree: sysutils/afsctool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#afsctool
```

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

## Paketfakten

- **Paketschlüssel:** brew:afsctool
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/afsctool>
- **Version:** 1.7.3
- **Quellzusammenfassung:** Utility for manipulating APFS and ZFS compressed files
- **Homepage:** <https://brkirch.wordpress.com/afsctool/>
- **Repository:** <https://github.com/RJVB/afsctool>
- **Upstream-Dokumentation:** <https://brkirch.wordpress.com/afsctool>
- **Lizenz:** GPL-3.0-only AND BSL-1.0
- **Quellarchiv:** <https://github.com/RJVB/afsctool/archive/refs/tags/v1.7.3.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-02T11:12:14-04:00
- **Generiert:** 2026-07-08T07:18:31+00:00

## Executables

- afsctool (cli)
- zfsctool (cli)
- afsctool (Alias)
- zfsctool (Alias)

## Build-Abhängigkeiten

- cmake
- google-sparsehash
- pkgconf

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura

## Version und Aktualität

- Seite generiert: 2026-07-08
- Manager-Version: 1.7.3
- Manager aktualisiert: 2026-07-02
- lokale Daten: OK
- Upstream-Repository: https://github.com/RJVB/afsctool
- neueste erkannte Version: v1.7.3 (aktuell)
## Projektgeschichte und Nutzung

afsctool is a command-line utility for applying, removing, and inspecting Apple filesystem compression. The original brkirch page describes it as an AFSC tool for HFS+ compression on Mac OS X 10.6 or later; the packaged RJVB fork extends that lineage with APFS-related work and a companion zfsctool.

### Projektgeschichte

The original afsctool was published by brkirch as a Mac OS X utility for HFS+ compression. The RJVB repository identifies itself as a modified version of brkirch's afsctool and documents changes around error reporting, large-file memory pressure, multiple file arguments, backups, read-only files, and parallel compression.

The RJVB fork became the source used by modern package managers. Its README records versioned feature work in the 1.6 and 1.7 series, including parallel compression options, additional compression types introduced by Apple in OS X 10.9 and later, LZVN support, and later LZFSE support.

### Adoptionsgeschichte

afsctool is narrow but useful enough to appear in macOS-oriented package sets: the supplied facts list Homebrew, MacPorts, and Nix. That adoption tracks its niche: users who need to inspect or recompress files with Apple filesystem compression from scripts rather than through Finder or filesystem internals.

The RJVB fork also documents package-manager build dependencies and gives Homebrew and MacPorts examples, which helps explain why downstream formulae can build it despite the tool's macOS-specific subject matter.

### Wie es verwendet wird

Typical usage is post-hoc compression or inspection of files and folders already on a supported filesystem. The RJVB fork adds options for parallel compression, sorting work items by size, and changing compression types when the operating system and linked libraries support them.

zfsctool, built from the same repository, adapts the afsctool idea to ZFS recompression statistics and experiments. The README is explicit that zfsctool is still a work in progress, so package users should treat afsctool as the primary stable executable.

### Warum Paket-Nerds sich dafür interessieren

afsctool is a classic small system package: obscure until you need it, highly platform-specific, and tightly bound to filesystem behavior and Apple compression formats. It is interesting to package maintainers because its dependency story and feature set move with macOS filesystem APIs and compression libraries.

The Homebrew formula exposes the RJVB fork rather than only the older brkirch page, so curation needs both sources: the original homepage explains the tool's purpose, while the repository explains the maintained code users actually install.

### Zeitleiste

- 2012: brkirch afsctool page published for the original AFSC utility.
- 2015: RJVB afsctool GitHub repository created.
- 2018: RJVB 1.6.9 release commit added size sorting and reverse-worker options for parallel mode.
- 2024: RJVB repository still receiving updates according to GitHub metadata.

### Related projects

- Apple HFS+ and APFS filesystem compression are the core operating-system features afsctool manipulates.
- RJVB's LZVN fork and the lzfse/lzfse reference implementation are mentioned by the README as compression-library dependencies in the 1.7 series.
- zfsctool is the same repository's experimental ZFS-oriented companion utility.

### Quellen

- <https://api.github.com/repos/RJVB/afsctool>
- <https://brkirch.wordpress.com/afsctool/>
- <https://github.com/RJVB/afsctool#readme>
- source_facts.package-manager


## Sicherheitshinweise

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

- **Geiger-Risiko:** blue / mittel
- broad file, network, media, or database tool signal

## Details aus der Quelldatenbank

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** afsctool
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Andere Paketmanager-Einträge

- Nix - afsctool: normalized package name match | nixpkgs package indexes: pkgs/by-name/af/afsctool/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - afsctool: normalized package name match | MacPorts ports tree: sysutils/afsctool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Verwandte Links

- [Secret-risk packages](https://www.automicvault.com/de/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Archive and compression packages](https://www.automicvault.com/de/pkg/archive-compression-tools/) - Matched archive or compression metadata.
- [Networking and protocol packages](https://www.automicvault.com/de/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [cmake](https://www.automicvault.com/de/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/de/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [acl](https://www.automicvault.com/de/pkg/brew/acl/) - Shares av.db curated category or tags: cli, filesystem, system.
- [afuse](https://www.automicvault.com/de/pkg/brew/afuse/) - Shares av.db curated category or tags: cli, filesystem, system.
- [attr](https://www.automicvault.com/de/pkg/brew/attr/) - Shares av.db curated category or tags: cli, filesystem, system.
- [avfs](https://www.automicvault.com/de/pkg/brew/avfs/) - Shares av.db curated category or tags: cli, filesystem, system.
- [bindfs](https://www.automicvault.com/de/pkg/brew/bindfs/) - Shares av.db curated category or tags: cli, filesystem, system.
- [convmv](https://www.automicvault.com/de/pkg/brew/convmv/) - Shares av.db curated category or tags: cli, filesystem, system.
- [cpmtools](https://www.automicvault.com/de/pkg/brew/cpmtools/) - Shares av.db curated category or tags: cli, filesystem, system.
- [dfc](https://www.automicvault.com/de/pkg/brew/dfc/) - Shares av.db curated category or tags: cli, filesystem, system.
- [dar](https://www.automicvault.com/de/pkg/brew/dar/) - Local package facts share a topical domain. Shared terms: cli, compression, files, filesystem, system.
- [duff](https://www.automicvault.com/de/pkg/brew/duff/) - Local package facts share a topical domain. Shared terms: cli, files, filesystem, system.
- [rdfind](https://www.automicvault.com/de/pkg/brew/rdfind/) - Local package facts share a topical domain. Shared terms: cli, files, filesystem, system.

## Combined YAML source

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


## Quellen

- 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
