# duff を Homebrew, apt, dnf, MacPorts, Nix でインストール

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

## インストール

```sh
sudo av install brew:duff
```

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

### macOS

- Homebrew (100%):

```sh
brew install duff
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install duff
```

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

### Linux

- Debian apt (92%):

```sh
sudo apt install duff
```

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

- dnf (92%):

```sh
sudo dnf install duff
```

  証拠: Fedora Rawhide package metadata: duff 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#duff
```

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

## パッケージ情報

- **パッケージキー:** brew:duff
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/duff>
- **バージョン:** 0.5.2
- **ソース概要:** Quickly find duplicates in a set of files from the command-line
- **ホームページ:** <https://github.com/elmindreda/duff>
- **リポジトリ:** <https://github.com/elmindreda/duff>
- **上流ドキュメント:** <https://github.com/elmindreda/duff#readme>
- **ライセンス:** Zlib
- **ソースアーカイブ:** <https://downloads.sourceforge.net/project/duff/duff/0.5.2/duff-0.5.2.tar.gz>
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

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

## インストール挙動

- 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.5.2
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/elmindreda/duff
- 情報: No package-manager update timestamp was available.
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

duff is an older Unix command-line duplicate-file finder that compares candidate files using SHA-family message digests. Its history is unusually well documented in its README, including its pre-release name, early private circulation, first official release, and later maintenance releases.

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

The tool began as version 0.1 under the name duplicate, then version 0.2 became the first release named duff but was only shared with a few people in early 2005. Version 0.3 became the first official release on November 22, 2005 after the author found a suitably licensed SHA1 implementation.

Version 0.4, released January 13, 2006, was described by the project as the first stable everyday-use release. The 0.5 line in 2011 and 2012 restarted development with minor features, bug fixes, optimizations, improved default thorough-mode output, and message-prefix cleanup.

### 採用の歴史

duff became a portable Unix utility rather than a large ecosystem project. The README records successful builds across Linux distributions, BSDs, Darwin and Mac OS X, NetBSD, SunOS, Cygwin, and Red Hat Enterprise Linux, and package metadata shows it still exists in Homebrew, Debian, Fedora, MacPorts, Nix, and Ubuntu.

### 使われ方

The common use is scanning one or more paths for duplicate files, with duff grouping duplicate candidates after digest-based comparison. The project ships a traditional man page and autotools build, matching the packaging style of mid-2000s Unix command-line utilities.

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

duff is interesting as a compact, old-school duplicate finder that survived through distro packaging. It belongs to the era before newer Rust and Go disk tools, when small C utilities with man pages, autotools, and portable Unix build notes were the normal package-manager substrate.

### タイムライン

- 2005: Version 0.2, the first named duff release, circulated privately.
- 2005: Version 0.3 became the first official release on November 22.
- 2006: Version 0.4 was considered stable enough for everyday use.
- 2011: Version 0.5 restarted development with minor features and fixes.
- 2012: Version 0.5.2 added optimizations and default behavior changes.

### Related projects

- fdupes and rdfind are adjacent duplicate-file finders in Unix package collections.
- Modern disk-maintenance tools overlap with duff's cleanup use case, but duff's identity remains the narrow duplicate-file finder.

### ソース

- <https://github.com/elmindreda/duff>
- <https://github.com/elmindreda/duff#readme>
- <https://formulae.brew.sh/formula/duff>


## セキュリティノート

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:** duff
- **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 - duff - 0.5.2-2: normalized package name match | Debian stable package indexes: duff from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Duplicate file finder | https://github.com/elmindreda/duff
- Nix - duff: normalized package name match | nixpkgs package indexes: pkgs/by-name/du/duff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - duff - 0.5.2-1.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: duff from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Duplicate file finder | http://duff.sourceforge.net/
- dnf - duff - 0.5.2-32.fc44: normalized package name match | Fedora Rawhide package metadata: duff from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Quickly find duplicate files | http://duff.sourceforge.net/
- MacPorts - duff: normalized package name match | MacPorts ports tree: sysutils/duff/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://www.automicvault.com/ja/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [rdfind](https://www.automicvault.com/ja/pkg/brew/rdfind/) - Shares av.db curated category or tags: cli, deduplication, duplicate-files, filesystem, system.
- [rmlint](https://www.automicvault.com/ja/pkg/brew/rmlint/) - Shares av.db curated category or tags: cli, deduplication, duplicate-files, filesystem, system.
- [ddh](https://www.automicvault.com/ja/pkg/brew/ddh/) - Shares av.db curated category or tags: cli, deduplication, duplicate-files, system.
- [acl](https://www.automicvault.com/ja/pkg/brew/acl/) - Shares av.db curated category or tags: cli, filesystem, system.
- [afuse](https://www.automicvault.com/ja/pkg/brew/afuse/) - Shares av.db curated category or tags: cli, filesystem, system.
- [attr](https://www.automicvault.com/ja/pkg/brew/attr/) - Shares av.db curated category or tags: cli, filesystem, system.
- [avfs](https://www.automicvault.com/ja/pkg/brew/avfs/) - Shares av.db curated category or tags: cli, filesystem, system.
- [bindfs](https://www.automicvault.com/ja/pkg/brew/bindfs/) - Shares av.db curated category or tags: cli, filesystem, system.
- [fdupes](https://www.automicvault.com/ja/pkg/brew/fdupes/) - Local package facts share a topical domain. Shared terms: cli, deduplication, duplicate, duplicate-files, files.
- [facad](https://www.automicvault.com/ja/pkg/brew/facad/) - Local package facts share a topical domain. Shared terms: cli, command-line, filesystem, line, system.

## Combined YAML source

View the package source record on GitHub. [combined/duff.yml](https://github.com/automic-vault/db/blob/main/combined/duff.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
