macOS
brew install diffoscopelocal Homebrew formula metadata
sudo port install diffoscopeMacPorts ports tree · sysutils/diffoscope/Portfile · 来源: api.github.com
安装
brew install diffoscopelocal Homebrew formula metadata
sudo port install diffoscopeMacPorts ports tree · sysutils/diffoscope/Portfile · 来源: api.github.com
sudo apk add diffoscopeAlpine Linux edge package indexes · diffoscope · 来源: dl-cdn.alpinelinux.org
sudo apt install diffoscopeDebian stable package indexes · diffoscope · 来源: deb.debian.org
sudo dnf install diffoscopeFedora Rawhide package metadata · diffoscope · 来源: dl.fedoraproject.org
nix profile install nixpkgs#diffoscopenixpkgs package indexes · pkgs/by-name/di/diffoscope/package.nix · 来源: api.github.com
sudo pacman -S diffoscopeArch Linux sync databases · diffoscope · 来源: geo.mirror.pkgbuild.com
sudo zypper install diffoscopeopenSUSE Tumbleweed package metadata · diffoscope · 来源: download.opensuse.org
概览
In-depth comparison of files, archives, and directories
历史
diffoscope is a deep comparison tool for files, archives, directories, and build artifacts. It recursively unpacks many formats and normalizes binary data into more human-readable forms so package builders can understand why two outputs differ.
diffoscope began in the Debian reproducible-builds project, was originally named debbindiff, and is now developed as part of the wider Reproducible Builds initiative. The official README describes its purpose as quickly understanding why two builds of the same package produce different outputs.
The official website documents installation paths through pip, Debian, Fedora, Gentoo, openSUSE, Arch Linux, FreeBSD, OpenBSD, NixOS, Homebrew, Docker images, and source tarballs. That breadth reflects its role as a cross-distribution diagnostic tool rather than a Debian-only utility.
diffoscope is used from the command line to compare two inputs and produce text or HTML reports. It exits with 0 when inputs are the same, 1 when they differ, and 2 on trouble, which makes it scriptable in package build, CI, and reproducibility workflows.
Package maintainers care about diffoscope because it turns opaque binary differences into reviewable structure: archives, filesystem images, language bytecode, package formats, and metadata can be unpacked and compared in one workflow. It is one of the canonical tools for explaining reproducible-build failures.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
diffoscope | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:diffoscope |
|---|---|
| 版本 | 325 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/diffoscope |
| 主页 | https://diffoscope.org |
| 仓库 | https://salsa.debian.org/reproducible-builds/diffoscope |
| 上游文档 | https://diffoscope.org/ |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://files.pythonhosted.org/packages/43/f6/bbab2a5af7fb7ef42f586f24a076fc320ad3dc4ed17549bb399e796700fa/diffoscope-325.tar.gz |
| 最后更新 | 2026-07-18T20:40:39Z |
| Pulse | updated |
| 依赖 | libarchive, libmagic, python@3.14 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | diffoscope |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
diffoscope 297+deb13u1
in-depth visual diff tool for files, archives and directories
sudo apt install diffoscopediffoscope-minimal 297+deb13u1
in-depth visual diff tool for files, archives and directories (minimal package)
sudo apt install diffoscope-minimaldiffoscope
nix profile install nixpkgs#diffoscopediffoscope 259
in-depth visual diff tool for files, archives and directories
sudo apt install diffoscopediffoscope-minimal 259
in-depth visual diff tool for files, archives and directories (minimal package)
sudo apt install diffoscope-minimaldiffoscope 309-r2
In-depth comparison of files, archives, and directories
sudo apk add diffoscopediffoscope-pyc 309-r2
Precompiled Python bytecode for diffoscope
sudo apk add diffoscope-pycdiffoscope 317-2.fc45
In-depth comparison of files, archives, and directories
sudo dnf install diffoscopediffoscope 318-1
Tool for in-depth comparison of files, archives, and directories
sudo pacman -S diffoscopediffoscope 318-1.1
In-depth comparison of files, archives, and directories
sudo zypper install diffoscopediffoscope
sudo port install diffoscope来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.