# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 erofs-utils

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

## 安装

```sh
sudo av install brew:erofs-utils
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install erofs-utils
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install erofs-utils
```

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

### Linux

- apk (92%):

```sh
sudo apk add erofs-utils
```

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

- Debian apt (92%):

```sh
sudo apt install erofs-utils
```

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

- dnf (92%):

```sh
sudo dnf install erofs-utils
```

  证据: Fedora Rawhide package metadata: erofs-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#erofs-utils
```

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

- pacman (92%):

```sh
sudo pacman -S erofs-utils
```

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

- zypper (92%):

```sh
sudo zypper install erofs-utils
```

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

## 软件包事实

- **软件包键:** brew:erofs-utils
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/erofs-utils>
- **版本:** 1.9.2
- **来源摘要:** Utilities for Enhanced Read-Only File System
- **主页:** <https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git>
- **上游文档:** <https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/snapshot/erofs-utils-1.9.2.tar.gz>
- **最后更新:** 2026-07-02T03:23:28Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- dump.erofs (cli)
- erofsfuse (cli)
- fsck.erofs (cli)
- mkfs.erofs (cli)
- mount.erofs (cli)
- dump.erofs (别名)
- erofsfuse (别名)
- fsck.erofs (别名)
- mkfs.erofs (别名)
- mount.erofs (别名)

## 依赖

- lz4
- xz

## 构建依赖

- autoconf
- automake
- libtool
- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.9.2
- 管理器更新时间: 2026-07-02
- 本地数据: OK
- 上游仓库: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

erofs-utils is the upstream userspace toolkit for EROFS, the Enhanced Read-Only File System used to build, inspect, check, mount, and extract immutable filesystem images.

### 项目历史

Kernel documentation describes EROFS as a modern, efficient, secure read-only kernel filesystem for immutable system images, container images, application sandbox images, and dataset snapshots. The EROFS project docs say it has been formally available since Linux 5.4 and is maintained by an open-source developer community.

### 采用历史

The EROFS project documentation lists adoption in Android system firmware, container-related projects such as composefs and Kata Containers, bootloaders such as U-Boot and GRUB, and many distributions including Alpine, Arch, Debian, Fedora, Gentoo, Homebrew, NixOS, openSUSE, Ubuntu, and others.

### 使用方式

The package provides mkfs.erofs for creating images, mount.erofs for mounting, erofsfuse for unprivileged FUSE mounting, dump.erofs for analysis, and fsck.erofs for consistency checking and extraction. The mkfs docs cover creating images from directories or tarballs, optional compression, reproducible-build controls, and tar/OCI-oriented workflows.

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

erofs-utils sits at the boundary between kernel filesystem support and reproducible image-building pipelines. Package maintainers care about it because newer releases expose kernel-era features such as compression algorithms, multi-threaded compression, FUSE support, tar sources, OCI registry support, and remote EROFS mounting.

### 时间线

- Linux 5.4: EROFS became formally available according to the project documentation.
- 2024-08-09: erofs-utils 1.8 added multi-threaded compression, preliminary Zstandard support, FUSE improvements, tar source support, and incremental-build work.
- 2026-02-18: erofs-utils 1.9 added S3 and OCI registry image creation, remote mount support, directory compression, and metadata-zone work.
- 2026-03-04: erofs-utils 1.9.1 followed as a maintenance release.

### Related projects

- EROFS is documented in the Linux kernel tree and has separate erofs-utils userspace tools.
- The project documentation links EROFS to Android, composefs, Kata Containers, U-Boot, GRUB, and distribution packaging ecosystems.

### 来源

- <https://docs.kernel.org/filesystems/erofs.html>
- <https://erofs.docs.kernel.org/>
- <https://erofs.docs.kernel.org/en/latest/mkfs.html>
- <https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/plain/README>
- <https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/plain/ChangeLog>
- <https://formulae.brew.sh/formula/erofs-utils>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** erofs-utils
- **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 - erofs-utils - 1.8.6-1: normalized package name match | Debian stable package indexes: erofs-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Utilities for EROFS File System | http://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git
- Debian apt - erofsfuse - 1.8.6-1: normalized package name match | Debian stable package indexes: erofsfuse from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | FUSE Mount Utility for EROFS File System | http://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git
- Nix - erofs-utils: normalized package name match | nixpkgs package indexes: pkgs/by-name/er/erofs-utils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - erofs-utils - 1.7.1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: erofs-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Utilities for EROFS File System | http://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git
- Ubuntu apt - erofsfuse - 1.7.1-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: erofsfuse from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | FUSE Mount Utility for EROFS File System | http://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git
- apk - erofs-utils - 1.9.2-r0: normalized package name match | Alpine Linux edge package indexes: erofs-utils from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | userspace utilities for erofs filesystem | https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git
- apk - erofs-utils-doc - 1.9.2-r0: normalized package name match | Alpine Linux edge package indexes: erofs-utils-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | userspace utilities for erofs filesystem (documentation) | https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git
- dnf - erofs-fuse - 1.9.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: erofs-fuse from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | FUSE support for mounting EROFS images | https://erofs.docs.kernel.org/
- dnf - erofs-utils - 1.9.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: erofs-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Utilities for working with EROFS | https://erofs.docs.kernel.org/
- pacman - erofs-utils - 1.9.2-1: normalized package name match | Arch Linux sync databases: erofs-utils from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Userspace utilities for linux-erofs file system | https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git
- zypper - erofs-utils - 1.9.2-1.2: normalized package name match | openSUSE Tumbleweed package metadata: erofs-utils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Utilities for the Extendable Read-Only Filesystem (EROFS) | https://github.com/erofs/erofs-utils
- MacPorts - erofs-utils: normalized package name match | MacPorts ports tree: sysutils/erofs-utils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- pacman - erofsfuse - 1.9.2-1: installed executable or alias match | Arch Linux sync databases: erofsfuse from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | FUSE file system client for erofs file system | https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [xz](https://pkg.so/zh-hans/brew/xz/) - Runtime dependency declared by Homebrew.
- [lz4](https://pkg.so/zh-hans/brew/lz4/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [libtool](https://pkg.so/zh-hans/brew/libtool/) - Build dependency declared by Homebrew.
- [autoconf](https://pkg.so/zh-hans/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/zh-hans/brew/automake/) - Build dependency declared by Homebrew.
- [attr](https://pkg.so/zh-hans/brew/attr/) - Shares pkgdb curated category or tags: cli, filesystem, filesystems, system, system-utilities.
- [libfuse](https://pkg.so/zh-hans/brew/libfuse/) - Shares pkgdb curated category or tags: cli, filesystem, filesystems, fuse, system.
- [dysk](https://pkg.so/zh-hans/brew/dysk/) - Shares pkgdb curated category or tags: cli, filesystem, filesystems, linux, system.
- [e2fsprogs](https://pkg.so/zh-hans/brew/e2fsprogs/) - Shares pkgdb curated category or tags: cli, filesystem, filesystems, linux, system.
- [dwarfs](https://pkg.so/zh-hans/brew/dwarfs/) - Shares pkgdb curated category or tags: cli, filesystem, filesystems, fuse, system.
- [ntfs-3g](https://pkg.so/zh-hans/brew/ntfs-3g/) - Shares pkgdb curated category or tags: cli, filesystem, filesystems, fuse, system.
- [btrfs-progs](https://pkg.so/zh-hans/brew/btrfs-progs/) - Shares pkgdb curated category or tags: cli, filesystem, filesystems, linux, system.
- [save3ds_fuse](https://pkg.so/zh-hans/brew/save3ds-fuse/) - Shares pkgdb curated category or tags: cli, filesystem, filesystems, fuse, system.
- [squashfs](https://pkg.so/zh-hans/brew/squashfs/) - Local package facts share a topical domain. Shared terms: cli, file, filesystem, linux, lz4.
- [mp3fs](https://pkg.so/zh-hans/brew/mp3fs/) - Local package facts share a topical domain. Shared terms: cli, file, filesystem, filesystems, fuse.

## Combined YAML source

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


## 来源

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