Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, zypper 安装 dfu-util

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install dfu-util

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install dfu-util

MacPorts ports tree · cross/dfu-util/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add dfu-util

Alpine Linux edge package indexes · dfu-util · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install dfu-util

Debian stable package indexes · dfu-util · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install dfu-util

Fedora Rawhide package metadata · dfu-util · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#dfu-util

nixpkgs package indexes · pkgs/by-name/df/dfu-util/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S dfu-util

Arch Linux sync databases · dfu-util · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install dfu-util

openSUSE Tumbleweed package metadata · dfu-util · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/dfu-util

Scoop official bucket manifest trees · bucket/dfu-util.json · 来源: api.github.com

概览

软件包摘要

USB programmer

命令和别名

  • dfu-prefix
  • dfu-suffix
  • dfu-util

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
dfu-prefixcli全局可执行文件
dfu-suffixcli全局可执行文件
dfu-utilcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本0.11
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://dfu-util.sourceforge.net/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://dfu-util.sourceforge.net/none 置信度

安装元数据

软件包元数据

软件包键brew:dfu-util
版本0.11
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/dfu-util
主页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
依赖libusb
构建依赖pkgconf
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namedfu-util
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

dfu-util 0.11-3

Device firmware update (DFU) USB programmer

https://dfu-util.sourceforge.net

sudo apt install dfu-util
  • Section: electronics
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Dfu Util
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dfu-util from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

dfu-util

nix profile install nixpkgs#dfu-util
  • normalized package name match
  • 匹配方式:Dfu Util
nixpkgs package indexes · api.github.com · 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 apt95%

dfu-util 0.11-1

Device firmware update (DFU) USB programmer

http://dfu-util.sourceforge.net

sudo apt install dfu-util
  • Section: universe/electronics
  • Architecture: amd64
  • 3 依赖
  • normalized package name match
  • 匹配方式:Dfu Util
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dfu-util from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

dfu-util 0.11-r1

Host side implementation of the DFU 1.0 and DFU 1.1 specifications

https://dfu-util.sourceforge.net/

sudo apk add dfu-util
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: dfu-util
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Dfu Util
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dfu-util from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

dfu-util-doc 0.11-r1

Host side implementation of the DFU 1.0 and DFU 1.1 specifications (documentation)

https://dfu-util.sourceforge.net/

sudo apk add dfu-util-doc
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: dfu-util
  • normalized package name match
  • 匹配方式:Dfu Util
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dfu-util-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

dfu-util 0.11-13.fc44

USB Device Firmware Upgrade tool

http://dfu-util.sourceforge.net/

sudo dnf install dfu-util
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: dfu-util
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Dfu Util
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
pacman95%

dfu-util 0.11-3

Tool intended to download and upload firmware using DFU protocol to devices connected over USB

http://dfu-util.sourceforge.net/

sudo pacman -S dfu-util
  • License: GPL2
  • Architecture: x86_64
  • 1 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Dfu Util
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: dfu-util from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

dfu-util 0.11-2.10

DFU firmware upgrade utility

http://dfu-util.sourceforge.net

sudo zypper install dfu-util
  • License: GPL-2.0-only
  • Category: Hardware/Other
  • Architecture: x86_64
  • Source Package: dfu-util
  • 3 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Dfu Util
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: dfu-util from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

dfu-util

sudo port install dfu-util
  • normalized package name match
  • 匹配方式:Dfu Util
MacPorts ports tree · api.github.com · MacPorts ports tree: cross/dfu-util/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/dfu-util

scoop install main/dfu-util
  • normalized package name match
  • 匹配方式:Dfu Util
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/dfu-util.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment