Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, MacPorts, Nix 安装 duff

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install duff

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install duff

MacPorts ports tree · sysutils/duff/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install duff

Debian stable package indexes · duff · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install duff

Fedora Rawhide package metadata · duff · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#duff

nixpkgs package indexes · pkgs/by-name/du/duff/package.nix · 来源: api.github.com

概览

软件包摘要

Quickly find duplicates in a set of files from the command-line

命令和别名

  • duff

历史

项目历史与用法

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.

安全态势

风险级别:绿色

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 个平台目标。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
duffcli全局可执行文件

新鲜度

版本和新鲜度

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

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

https://github.com/elmindreda/duff

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息No cached GitHub release or tag data was available.https://github.com/elmindreda/duffnone 置信度

安装元数据

软件包元数据

软件包键brew:duff
版本0.5.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/duff
主页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
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 Nameduff
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

duff 0.5.2-2

Duplicate file finder

https://github.com/elmindreda/duff

sudo apt install duff
  • Section: utils
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Duff
Debian stable package indexes · deb.debian.org · Debian stable package indexes: duff from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

duff

nix profile install nixpkgs#duff
  • normalized package name match
  • 匹配方式:Duff
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/du/duff/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

duff 0.5.2-1.1build1

Duplicate file finder

http://duff.sourceforge.net/

sudo apt install duff
  • Section: universe/utils
  • Architecture: amd64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Duff
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: duff from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

duff 0.5.2-32.fc44

Quickly find duplicate files

http://duff.sourceforge.net/

sudo dnf install duff
  • License: zlib
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: duff
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Duff
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: duff from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

duff

sudo port install duff
  • normalized package name match
  • 匹配方式:Duff
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/duff/Portfile from https://api.github.com/repos/macports/macports-ports/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