# 使用 Homebrew, apt, Nix 安装 unyaffs

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

## 安装

```sh
sudo av install brew:unyaffs
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install unyaffs
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install unyaffs
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#unyaffs
```

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

## 软件包事实

- **软件包键:** brew:unyaffs
- **软件包管理器:** Homebrew
- **版本:** 0.9.7
- **来源摘要:** Extract files from a YAFFS2 filesystem image
- **主页:** <https://packages.debian.org/sid/unyaffs>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- unyaffs (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

unyaffs is a small extractor for YAFFS2 filesystem images, mainly useful to people inspecting embedded or Android-era NAND flash images rather than to general archive users.

### 项目历史

The available upstream README says unyaffs was based on work from the YAFFS project, that the original implementation was by Kai Wei and hosted on Google Code, and that Bernhard Ehlers started a fork after the original project became inactive. A public mirror records the project as an extraction tool for YAFFS2 images created by mkyaffs2image.

The source-level history in the public mirror records v0.8 in August 2011 and v0.9 in September 2011. The README presents it as a conventional C utility for Unix-like systems with a make-based build.

### 采用历史

Homebrew, Debian, Nix, and Ubuntu packaging in the supplied input show that unyaffs stayed available mostly through distribution package sets. That is typical for firmware-forensics utilities: small upstream, occasional packaging, and long shelf life because old image formats continue to appear.

### 使用方式

The README documents extraction of all files from a YAFFS2 filesystem image, optional layout selection, listing without extraction, verbose listings, standard-input support, and restoration of permissions, times, ownership, links, and special files where the host OS permits it.

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

The package is notable in a narrow niche: unpacking historical Android, embedded Linux, and NAND-flash images where YAFFS2 appears. Package maintainers care because it provides a single-purpose CLI that can be installed from general-purpose package managers instead of being recovered from archived Google Code downloads.

### 时间线

- 2008: Source comments in the mirrored code record an initial version upload to Google Code.
- 2011: v0.8 and v0.9 tags appear in the public mirror.
- 2011: Public mirror repository created.
- 2026: Homebrew input still lists unyaffs as packaged.

### Related projects

- The README ties unyaffs to the YAFFS project and mkyaffs2image. Other tools in the same niche include yaffs2utils and YAFFS parsers, but those are outside the official unyaffs sources used here.

### 来源

- <https://github.com/whataday/unyaffs>
- <https://raw.githubusercontent.com/whataday/unyaffs/master/README>
- <https://raw.githubusercontent.com/whataday/unyaffs/master/unyaffs.c>
- source_facts.package-manager


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- Debian apt - unyaffs - 0.9.7-1: normalized package name match | Debian stable package indexes: unyaffs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Extracts files from a YAFFS2 filesystem image | https://github.com/ehlers/unyaffs
- Nix - unyaffs: normalized package name match | nixpkgs package indexes: pkgs/by-name/un/unyaffs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - unyaffs - 0.9.7-0.2: normalized package name match | Ubuntu 24.04 LTS package indexes: unyaffs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Extracts files from a YAFFS2 filesystem image | https://github.com/ehlers/unyaffs


## Combined YAML source

View the package source record on GitHub. [combined/unyaffs.yml](https://github.com/mxcl/pkgdb/blob/main/combined/unyaffs.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
