# dfu-util を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, zypper でインストール

dfu-util のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:dfu-util
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install dfu-util
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dfu-util
```

  証拠: MacPorts ports tree: cross/dfu-util/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add dfu-util
```

  証拠: Alpine Linux edge package indexes: dfu-util from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install dfu-util
```

  証拠: Debian stable package indexes: dfu-util from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install dfu-util
```

  証拠: Fedora Rawhide package metadata: dfu-util from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#dfu-util
```

  証拠: nixpkgs package indexes: pkgs/by-name/df/dfu-util/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S dfu-util
```

  証拠: Arch Linux sync databases: dfu-util from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install dfu-util
```

  証拠: openSUSE Tumbleweed package metadata: dfu-util from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/dfu-util
```

  証拠: Scoop official bucket manifest trees: bucket/dfu-util.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:dfu-util
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/dfu-util>
- **バージョン:** 0.11
- **ソース概要:** USB programmer
- **ホームページ:** <https://dfu-util.sourceforge.net/>
- **リポジトリ:** <https://sourceforge.net/p/dfu-util/dfu-util/ci/master/tree>
- **上流ドキュメント:** <https://dfu-util.sourceforge.net/>
- **ライセンス:** GPL-2.0-or-later
- **ソースアーカイブ:** <https://downloads.sourceforge.net/project/dfu-util/dfu-util-0.11.tar.gz>
- **生成日時:** 2026-07-08T07:18:31+00:00

## 実行可能ファイル

- dfu-prefix (cli)
- dfu-suffix (cli)
- dfu-util (cli)
- dfu-prefix (エイリアス)
- dfu-suffix (エイリアス)
- dfu-util (エイリアス)

## 依存関係

- libusb

## ビルド依存関係

- pkgconf

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 0.11
- ローカルデータ: OK
- 上流リポジトリ: https://dfu-util.sourceforge.net/
- 情報: No package-manager update timestamp was available.
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

dfu-util is the general-purpose host-side command-line utility for USB Device Firmware Upgrade. It downloads firmware to DFU-capable devices, uploads firmware from them, and ships companion tools for DFU suffix and prefix handling.

### プロジェクトの歴史

The official manual records dfu-util as originally written for the OpenMoko project by Weston Schmidt and Harald Welte, with support added over time for DFU 1.0, DFU 1.1, and ST's DfuSe variant. The project homepage also notes that Harald Welte's original work was partly based on dfu-programmer 0.4 and that the project is maintained by Tormod Volden.

### 採用の歴史

The official homepage names Openmoko Neo1973 and Freerunner among tested devices, then broadens the list to microcontroller boards, phones, DfuSe devices, STM32 bootloaders, Black Magic Probe, Particle-era hardware, and other embedded targets. It also states that most Linux distributions ship dfu-util and that macOS users can install it through Homebrew or MacPorts.

### 使われ方

The man page documents the core package-manager-visible workflow: list attached DFU devices, select by USB identifiers, interface, path, or serial number, then upload with -U or download with -D. DfuSe usage adds address selection and modifiers such as leave, unprotect, and mass-erase for devices whose DFU behavior extends the base USB specification.

### パッケージ好きにとっての重要性

dfu-util is a classic tiny-but-critical system package: it is not a framework, but it lets firmware projects document one portable command instead of vendor GUI steps. Its packaging matters because hardware instructions, board recovery guides, and CI-adjacent flashing scripts assume the binary can be installed from the user's normal OS package manager.

### タイムライン

- 2012: 0.5 and 0.7 release archives were published on the official release index.
- 2014: 0.8 release archive was published.
- 2016: 0.9 release archive was published.
- 2020: 0.10 release archive and binaries were published.
- 2021: 0.11 release archive and binaries were published.

### Related projects

- dfu-programmer is related historically and functionally, while libusb provides the USB access layer used by dfu-util. ST DfuSe support gives dfu-util a bridge into many STM32-style firmware workflows.

### ソース

- <https://dfu-util.sourceforge.net/>
- <https://dfu-util.sourceforge.net/dfu-util.1.html>
- <https://dfu-util.sourceforge.net/dfuse.html>
- <https://dfu-util.sourceforge.net/releases/>
- <https://sourceforge.net/p/dfu-util/dfu-util/ci/master/tree/README?format=raw>


## セキュリティノート

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:** dfu-util
- **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 - dfu-util - 0.11-3: normalized package name match | Debian stable package indexes: dfu-util from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Device firmware update (DFU) USB programmer | https://dfu-util.sourceforge.net
- Nix - dfu-util: normalized package name match | nixpkgs package indexes: pkgs/by-name/df/dfu-util/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dfu-util - 0.11-1: normalized package name match | Ubuntu 24.04 LTS package indexes: dfu-util from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Device firmware update (DFU) USB programmer | http://dfu-util.sourceforge.net
- apk - dfu-util - 0.11-r1: normalized package name match | Alpine Linux edge package indexes: dfu-util from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Host side implementation of the DFU 1.0 and DFU 1.1 specifications | https://dfu-util.sourceforge.net/
- apk - dfu-util-doc - 0.11-r1: normalized package name match | Alpine Linux edge package indexes: dfu-util-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Host side implementation of the DFU 1.0 and DFU 1.1 specifications (documentation) | https://dfu-util.sourceforge.net/
- dnf - dfu-util - 0.11-13.fc44: normalized package name match | Fedora Rawhide package metadata: dfu-util from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | USB Device Firmware Upgrade tool | http://dfu-util.sourceforge.net/
- pacman - dfu-util - 0.11-3: normalized package name match | Arch Linux sync databases: dfu-util from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Tool intended to download and upload firmware using DFU protocol to devices connected over USB | http://dfu-util.sourceforge.net/
- zypper - dfu-util - 0.11-2.10: normalized package name match | openSUSE Tumbleweed package metadata: dfu-util from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | DFU firmware upgrade utility | http://dfu-util.sourceforge.net
- MacPorts - dfu-util: normalized package name match | MacPorts ports tree: cross/dfu-util/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/dfu-util: normalized package name match | Scoop official bucket manifest trees: bucket/dfu-util.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 関連リンク

- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/ja/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [pkgconf](https://www.automicvault.com/ja/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [dfu-programmer](https://www.automicvault.com/ja/pkg/brew/dfu-programmer/) - Shares av.db curated category or tags: cli, dfu, embedded, firmware, system.
- [bootloadhid](https://www.automicvault.com/ja/pkg/brew/bootloadhid/) - Shares av.db curated category or tags: cli, embedded, system, usb.
- [acpica](https://www.automicvault.com/ja/pkg/brew/acpica/) - Shares av.db curated category or tags: cli, firmware, system.
- [b43-fwcutter](https://www.automicvault.com/ja/pkg/brew/b43-fwcutter/) - Shares av.db curated category or tags: cli, firmware, system.
- [flashrom](https://www.automicvault.com/ja/pkg/brew/flashrom/) - Shares av.db curated category or tags: cli, firmware, system.
- [flip-link](https://www.automicvault.com/ja/pkg/brew/flip-link/) - Shares av.db curated category or tags: cli, embedded, system.
- [fon-flash-cli](https://www.automicvault.com/ja/pkg/brew/fon-flash-cli/) - Shares av.db curated category or tags: cli, firmware, system.
- [fwup](https://www.automicvault.com/ja/pkg/brew/fwup/) - Shares av.db curated category or tags: cli, firmware, system.
- [rkflashtool](https://www.automicvault.com/ja/pkg/brew/rkflashtool/) - Local package facts share a topical domain. Shared terms: cli, firmware, libusb, system, usb.
- [rpiboot](https://www.automicvault.com/ja/pkg/brew/rpiboot/) - Local package facts share a topical domain. Shared terms: cli, embedded, libusb, system, usb.

## Combined YAML source

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


## ソース

- 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
