# Install diffoscope with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

In-depth comparison of files, archives, and directories. Version 326 via Homebrew; verified 2026-07-31. Also installable with debian: sudo apt install diffoscope.

## Install

```sh
sudo av install brew:diffoscope
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install diffoscope
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install diffoscope
```

  Evidence: MacPorts ports tree: sysutils/diffoscope/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add diffoscope
```

  Evidence: Alpine Linux edge package indexes: diffoscope from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install diffoscope
```

  Evidence: Debian stable package indexes: diffoscope from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install diffoscope
```

  Evidence: Fedora Rawhide package metadata: diffoscope 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#diffoscope
```

  Evidence: nixpkgs package indexes: pkgs/by-name/di/diffoscope/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S diffoscope
```

  Evidence: Arch Linux sync databases: diffoscope from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install diffoscope
```

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

## Package facts

- **Package key:** brew:diffoscope
- **Package manager:** Homebrew
- **Version:** 326
- **Source summary:** In-depth comparison of files, archives, and directories
- **Homepage:** <https://diffoscope.org>
- **Last updated:** 2026-07-31T21:29:28Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- diffoscope (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 326
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 2010s: Started by the Debian reproducible-builds project under the name debbindiff.
- 2010s: Renamed diffoscope and developed under the wider Reproducible Builds initiative.
- 2026: Official site lists release 322 on 26 Jun 2026.

### Related projects

- The official site lists pkgdiff and Open Build Service build-compare as similar software, and the project is closely tied to reproducible-builds.org infrastructure.

### Sources

- <https://diffoscope.org/>
- <https://salsa.debian.org/reproducible-builds/diffoscope/-/raw/master/README.rst>


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Other Package-Manager Records

- Debian apt - diffoscope - 297+deb13u1: normalized package name match | Debian stable package indexes: diffoscope from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | in-depth visual diff tool for files, archives and directories | https://diffoscope.org
- Debian apt - diffoscope-minimal - 297+deb13u1: normalized package name match | Debian stable package indexes: diffoscope-minimal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | in-depth visual diff tool for files, archives and directories (minimal package) | https://diffoscope.org
- Nix - diffoscope: normalized package name match | nixpkgs package indexes: pkgs/by-name/di/diffoscope/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - diffoscope - 259: normalized package name match | Ubuntu 24.04 LTS package indexes: diffoscope from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | in-depth visual diff tool for files, archives and directories | https://diffoscope.org
- Ubuntu apt - diffoscope-minimal - 259: normalized package name match | Ubuntu 24.04 LTS package indexes: diffoscope-minimal from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | in-depth visual diff tool for files, archives and directories (minimal package) | https://diffoscope.org
- apk - diffoscope - 309-r2: normalized package name match | Alpine Linux edge package indexes: diffoscope from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | In-depth comparison of files, archives, and directories | https://diffoscope.org/
- apk - diffoscope-pyc - 309-r2: normalized package name match | Alpine Linux edge package indexes: diffoscope-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for diffoscope | https://diffoscope.org/
- dnf - diffoscope - 325-2.fc45: normalized package name match | Fedora Rawhide package metadata: diffoscope from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | In-depth comparison of files, archives, and directories | https://diffoscope.org/
- pacman - diffoscope - 326-1: normalized package name match | Arch Linux sync databases: diffoscope from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Tool for in-depth comparison of files, archives, and directories | https://diffoscope.org/
- zypper - diffoscope - 322-1.2: normalized package name match | openSUSE Tumbleweed package metadata: diffoscope from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | In-depth comparison of files, archives, and directories | https://diffoscope.org/
- MacPorts - diffoscope: normalized package name match | MacPorts ports tree: sysutils/diffoscope/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/diffoscope.yml](https://github.com/mxcl/pkgdb/blob/main/combined/diffoscope.yml)


## Sources

- 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
