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

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

## 安装

```sh
sudo av install brew:binwalk
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install binwalk
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install binwalk
```

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

### Linux

- apk (92%):

```sh
sudo apk add binwalk
```

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

- Debian apt (92%):

```sh
sudo apt install binwalk
```

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

- dnf (92%):

```sh
sudo dnf install binwalk
```

  证据: Fedora Rawhide package metadata: binwalk 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#binwalk
```

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

- pacman (92%):

```sh
sudo pacman -S binwalk
```

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

- zypper (92%):

```sh
sudo zypper install binwalk
```

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

## 软件包事实

- **软件包键:** brew:binwalk
- **软件包管理器:** Homebrew
- **版本:** 3.1.0
- **来源摘要:** Searches a binary image for embedded files and executable code
- **主页:** <https://github.com/ReFirmLabs/binwalk>
- **仓库:** <https://github.com/ReFirmLabs/binwalk>
- **最后更新:** 2026-07-10T11:21:27-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- binwalk (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Binwalk is the firmware-analysis command-line tool package nerds reach for when an opaque router, camera, appliance, or IoT image needs to be split into recognizable files, compressed streams, bootloaders, file systems, and entropy regions.

### 项目历史

The public ReFirmLabs repository records Binwalk as a firmware analysis tool and names Craig Heffner as the package author in the current Cargo metadata. The repository was created on GitHub in 2013, and its public release line includes the v2.0.0 release in July 2014, v2.1.1 in December 2015, and v2.3.x releases through 2023.

Binwalk v3 is a major rewrite of the tool in Rust. The current README describes it as an updated Binwalk firmware analysis tool rewritten in Rust for speed and accuracy, while retaining the core job of identifying and optionally extracting embedded files and data.

### 采用历史

Binwalk moved from a specialist firmware reverse-engineering utility into a standard package-manager tool: the input package metadata lists it in Homebrew, Debian, Ubuntu, Fedora/dnf, Alpine/apk, Arch/pacman, MacPorts, Nix, and openSUSE/zypper. Its GitHub repository also shows large public adoption for a firmware tool, with more than fourteen thousand stars and active releases into the v3 era.

Its adoption tracks the growth of embedded-device security work. As firmware dumps became routine artifacts in vulnerability research and supply-chain review, a single installable CLI that could scan signatures, carve contents, and graph entropy became a default first pass before more manual reverse engineering.

### 使用方式

Typical use starts with running `binwalk firmware.bin` to identify embedded data. The README documents optional extraction, support for many file and data signatures, entropy analysis for spotting compression or encryption, and integration into Rust projects through the library interface.

Package users usually care that it is scriptable and easy to install: it fits into firmware triage pipelines, CTF workflows, vendor image audits, and quick checks of suspicious binary blobs.

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

Binwalk is one of those packages whose name becomes a verb in a niche: before opening Ghidra or writing custom unpackers, people 'binwalk it'. That cultural position matters in package history because it turned firmware analysis from a bespoke lab setup into a command available from mainstream Unix package managers.

The v3 Rust rewrite is also package-nerd interesting. It keeps the familiar CLI identity while moving the implementation toward a safer, faster compiled toolchain and exposing a Rust library surface, which makes it both a classic Unix utility and a modern reusable component.

### 时间线

- 2013: ReFirmLabs/binwalk repository created on GitHub.
- 2014: Binwalk v2.0.0 released.
- 2015: Binwalk v2.1.1 released.
- 2021: Binwalk v2.3.0 and v2.3.1 released.
- 2023: Binwalk v2.3.4 released.
- 2024: Binwalk v3.1.0 released after the Rust rewrite.

### Related projects

- The Binwalk package sits beside firmware and binary-analysis tools such as file, foremost, squashfs-tools, unsquashfs, sasquatch-style extractors, entropy visualizers, and reverse-engineering suites. The v3 Cargo metadata also references the delink project as a dependency.
- Its closest package-manager relationship is with the ecosystem of firmware unpacking helpers that users install around it, because Binwalk often identifies containers that other tools then extract or inspect.

### 来源

- <https://github.com/ReFirmLabs/binwalk>
- <https://github.com/ReFirmLabs/binwalk/releases>
- <https://raw.githubusercontent.com/ReFirmLabs/binwalk/master/Cargo.toml>
- <https://raw.githubusercontent.com/ReFirmLabs/binwalk/master/README.md>
- source_facts.package-manager


## 安全说明

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

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

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

- Debian apt - binwalk - 2.4.3+dfsg1-2: normalized package name match | Debian stable package indexes: binwalk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tool library for analyzing binary blobs and executable code | https://github.com/ReFirmLabs/binwalk
- Debian apt - python3-binwalk - 2.4.3+dfsg1-2: normalized package name match | Debian stable package indexes: python3-binwalk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python3 library for analyzing binary blobs and executable code | https://github.com/ReFirmLabs/binwalk
- Nix - binwalk: normalized package name match | nixpkgs package indexes: pkgs/by-name/bi/binwalk/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - binwalk - 2.3.4+dfsg1-5: normalized package name match | Ubuntu 24.04 LTS package indexes: binwalk from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | tool library for analyzing binary blobs and executable code | https://github.com/ReFirmLabs/binwalk
- Ubuntu apt - python3-binwalk - 2.3.4+dfsg1-5: normalized package name match | Ubuntu 24.04 LTS package indexes: python3-binwalk from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python3 library for analyzing binary blobs and executable code | https://github.com/ReFirmLabs/binwalk
- apk - binwalk - 3.1.0-r0: normalized package name match | Alpine Linux edge package indexes: binwalk from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fast, easy to use tool for analyzing and extracting firmware images | https://github.com/ReFirmLabs/binwalk/
- dnf - binwalk - 2.3.4-19.fc45: normalized package name match | Fedora Rawhide package metadata: binwalk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Firmware analysis tool | https://github.com/ReFirmLabs/binwalk
- pacman - binwalk - 3.1.0-1: normalized package name match | Arch Linux sync databases: binwalk from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Tool for searching a given binary image for embedded files | https://github.com/ReFirmLabs/binwalk
- zypper - binwalk - 3.1.0-1.5: normalized package name match | openSUSE Tumbleweed package metadata: binwalk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Firmware Analysis Tool | https://github.com/ReFirmLabs/binwalk/
- MacPorts - binwalk: normalized package name match | MacPorts ports tree: cross/binwalk/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

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