pkg.soopen package index

brew / 排名 1110

使用 Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 diffutils

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install diffutils

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install diffutils

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add diffutils

Alpine Linux edge package indexes · diffutils · 来源: dl-cdn.alpinelinux.org

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

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

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

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

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

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

Arch Linux pacman已验证 · 92%
sudo pacman -S diffutils

Arch Linux sync databases · diffutils · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install diffutils

openSUSE Tumbleweed package metadata · diffutils · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install diffutils

Chocolatey community package catalog · diffutils · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/diffutils

Scoop official bucket manifest trees · bucket/diffutils.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id uutils.diffutils -e

Windows Package Manager source index · uutils.diffutils · 来源: cdn.winget.microsoft.com

概览

软件包摘要

File comparison utilities

命令和别名

  • cmp
  • diff
  • diff3
  • sdiff

历史

项目历史与用法

GNU Diffutils is the GNU package that provides the classic file-comparison programs `diff`, `cmp`, `diff3`, and `sdiff`.

项目历史

The GNU Diffutils manual describes the package as a way to find differences between files, including side-by-side formats, context and unified diffs, and scripts suitable for the `patch` program. As part of GNU, it supplies standard userland comparison utilities across GNU and GNU-like systems.

采用历史

Diffutils became package-manager infrastructure almost by being everywhere: the tools are standard build, patch-review, and source-maintenance utilities, and Homebrew, Linux distributions, and other package sets commonly ship the GNU implementations under the `diffutils` package name.

使用方式

`diff` compares text files and can emit normal, context, or unified output; `cmp` checks byte-level differences; `diff3` compares three files for merge-style workflows; and `sdiff` supports side-by-side comparison and merging.

为什么软件包爱好者会关心

Diffutils is foundational package-nerd equipment. Source packages, downstream patches, generated tarballs, build logs, and regression tests all lean on diff-family tools, and many higher-level tools in this batch either consume diff output or improve on its presentation.

时间线

  • 1980s-1990s: GNU Diffutils became the GNU implementation of core file-comparison utilities.
  • 2000s: Unified diff output remained the common interchange format for source patches and package maintenance.
  • 2020s: GNU Diffutils continues to be distributed as the `diffutils` package across package managers.

Related projects

  • Related tools include GNU patch, diffstat, Git diff, colordiff, diffoscope, and modern syntax-aware viewers such as Difftastic.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
cmp可执行文件已索引可执行文件从本地可执行文件索引发现。
diff可执行文件已索引可执行文件从本地可执行文件索引发现。
diff3可执行文件已索引可执行文件从本地可执行文件索引发现。
sdiff可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

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

页面生成时间2026-08-03
管理器版本3.12
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:diffutils
版本3.12
软件包管理器Homebrew
主页https://www.gnu.org/software/diffutils/
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

diffutils 1:3.10-4

File comparison utilities

https://www.gnu.org/software/diffutils/

sudo apt install diffutils
  • Section: utils
  • Architecture: amd64
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Diffutils
Debian stable package indexes · deb.debian.org · Debian stable package indexes: diffutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

diffutils-doc 1:3.10-4

Documentation for GNU diffutils in HTML format

https://www.gnu.org/software/diffutils/

sudo apt install diffutils-doc
  • Section: doc
  • Architecture: all
  • Source Package: diffutils
  • normalized package name match
  • 匹配方式:Diffutils
Debian stable package indexes · deb.debian.org · Debian stable package indexes: diffutils-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

diffutils

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

diffutils 1:3.10-1build1

File comparison utilities

https://www.gnu.org/software/diffutils/

sudo apt install diffutils
  • Section: utils
  • Architecture: amd64
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Diffutils
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: diffutils from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

diffutils-doc 1:3.10-1build1

Documentation for GNU diffutils in HTML format

https://www.gnu.org/software/diffutils/

sudo apt install diffutils-doc
  • Section: doc
  • Architecture: all
  • Source Package: diffutils
  • normalized package name match
  • 匹配方式:Diffutils
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: diffutils-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

diffutils 3.12-r0

Show differences among files

https://www.gnu.org/software/diffutils/

sudo apk add diffutils
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: diffutils
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Diffutils
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: diffutils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

diffutils-doc 3.12-r0

Show differences among files (documentation)

https://www.gnu.org/software/diffutils/

sudo apk add diffutils-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: diffutils
  • normalized package name match
  • 匹配方式:Diffutils
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: diffutils-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

diffutils 3.12-6.fc45

GNU collection of diff utilities

https://www.gnu.org/software/diffutils/diffutils.html

sudo dnf install diffutils
  • License: GPL-3.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: diffutils
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Diffutils
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: diffutils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

diffutils 3.12-2

Utility programs used for creating patch files

https://www.gnu.org/software/diffutils

sudo pacman -S diffutils
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Diffutils
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: diffutils from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz
zypper95%

diffutils 3.12-1.5

GNU diff Utilities

https://www.gnu.org/software/diffutils/

sudo zypper install diffutils
  • License: GFDL-1.2-only AND GPL-3.0-or-later
  • Category: Productivity/Text/Utilities
  • Architecture: x86_64
  • Source Package: diffutils
  • 1 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Diffutils
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: diffutils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
zypper95%

diffutils-lang 3.12-1.5

Translations for package diffutils

https://www.gnu.org/software/diffutils/

sudo zypper install diffutils-lang
  • License: GFDL-1.2-only AND GPL-3.0-or-later
  • Category: System/Localization
  • Architecture: noarch
  • Source Package: diffutils
  • 1 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Diffutils
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: diffutils-lang from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

diffutils

sudo port install diffutils
  • normalized package name match
  • 匹配方式:Diffutils
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/diffutils/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Chocolatey95%

diffutils

choco install diffutils
  • normalized package name match
  • 匹配方式:Diffutils
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: diffutils from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','deezer'
Scoop95%

main/diffutils

scoop install main/diffutils
  • normalized package name match
  • 匹配方式:Diffutils
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/diffutils.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

uutils.diffutils

winget install --id uutils.diffutils -e
  • normalized package name match
  • 匹配方式:Diffutils
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: uutils.diffutils from https://cdn.winget.microsoft.com/cache/source.msix
winget92%

DBAdminX.Diff

winget install --id DBAdminX.Diff -e
  • installed executable or alias match
  • 匹配方式:Diff
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: DBAdminX.Diff from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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