# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 1.9.2
- **来源摘要:** Utilities for Enhanced Read-Only File System
- **主页:** <https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git>
- **最后更新:** 2026-07-02T03:23:28Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

## 其他软件包管理器记录

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
