# diffoscope を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

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

## インストール

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

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

### macOS

- Homebrew (100%):

```sh
brew install diffoscope
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install diffoscope
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#diffoscope
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:diffoscope
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/diffoscope>
- **バージョン:** 326
- **ソース概要:** In-depth comparison of files, archives, and directories
- **ホームページ:** <https://diffoscope.org>
- **上流ドキュメント:** <https://diffoscope.org>
- **ライセンス:** GPL-3.0-or-later
- **ソースアーカイブ:** <https://files.pythonhosted.org/packages/23/66/33c502a4a24ed94a676f6220225fe8da102bfc2c87d212d344de0f1eadde/diffoscope-326.tar.gz>
- **最終更新:** 2026-07-31T21:29:28Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- diffoscope (cli)
- diffoscope (エイリアス)

## 依存関係

- libarchive
- libmagic
- python@3.14

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 326
- マネージャ更新日: 2026-07-31
- ローカルデータ: OK
- 上流リポジトリ: https://diffoscope.org
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 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.

### ソース

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


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## ソースデータベース詳細

- **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:** stable

## 他のパッケージマネージャ記録

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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


## 関連リンク

- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://pkg.so/ja/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [libarchive](https://pkg.so/ja/brew/libarchive/) - Runtime dependency declared by Homebrew.
- [diffoci](https://pkg.so/ja/brew/diffoci/) - Shares pkgdb curated category or tags: cli, developer-tools, diff, reproducible-builds.
- [numdiff](https://pkg.so/ja/brew/numdiff/) - Shares pkgdb curated category or tags: cli, developer-tools, diff, files.
- [difftastic](https://pkg.so/ja/brew/difftastic/) - Shares pkgdb curated category or tags: cli, developer-tools, diff.
- [diffutils](https://pkg.so/ja/brew/diffutils/) - Shares pkgdb curated category or tags: cli, developer-tools, diff.
- [diff-so-fancy](https://pkg.so/ja/brew/diff-so-fancy/) - Shares pkgdb curated category or tags: cli, developer-tools, diff.
- [colordiff](https://pkg.so/ja/brew/colordiff/) - Shares pkgdb curated category or tags: cli, developer-tools, diff.
- [dyff](https://pkg.so/ja/brew/dyff/) - Shares pkgdb curated category or tags: cli, developer-tools, diff.
- [diffnav](https://pkg.so/ja/brew/diffnav/) - Shares pkgdb curated category or tags: cli, developer-tools, diff.
- [peru](https://pkg.so/ja/brew/peru/) - Both packages touch the same language runtime or ecosystem. Shared terms: archives, builds, cli, developer, developer-tools.
- [nbdime](https://pkg.so/ja/brew/nbdime/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, diff, python.

## Combined YAML source

View the package source record on GitHub. [combined/diffoscope.yml](https://github.com/mxcl/pkgdb/blob/main/combined/diffoscope.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
