macOS
brew install diffutilslocal Homebrew formula metadata
sudo port install diffutilsMacPorts ports tree · sysutils/diffutils/Portfile · 来源: api.github.com
安装
brew install diffutilslocal Homebrew formula metadata
sudo port install diffutilsMacPorts ports tree · sysutils/diffutils/Portfile · 来源: api.github.com
sudo apk add diffutilsAlpine Linux edge package indexes · diffutils · 来源: dl-cdn.alpinelinux.org
sudo apt install diffutilsDebian stable package indexes · diffutils · 来源: deb.debian.org
sudo dnf install diffutilsFedora Rawhide package metadata · diffutils · 来源: dl.fedoraproject.org
nix profile install nixpkgs#diffutilsnixpkgs package indexes · diffutils · 来源: raw.githubusercontent.com
sudo pacman -S diffutilsArch Linux sync databases · diffutils · 来源: geo.mirror.pkgbuild.com
sudo zypper install diffutilsopenSUSE Tumbleweed package metadata · diffutils · 来源: download.opensuse.org
choco install diffutilsChocolatey community package catalog · diffutils · 来源: community.chocolatey.org
scoop install main/diffutilsScoop official bucket manifest trees · bucket/diffutils.json · 来源: api.github.com
winget install --id uutils.diffutils -eWindows Package Manager source index · uutils.diffutils · 来源: cdn.winget.microsoft.com
概览
File comparison utilities
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
cmp | cli | 全局可执行文件 | |
diff | cli | 全局可执行文件 | |
diff3 | cli | 全局可执行文件 | |
sdiff | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://www.gnu.org/software/diffutils/
安装元数据
| 软件包键 | brew:diffutils |
|---|---|
| 版本 | 3.12 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/diffutils |
| 主页 | https://www.gnu.org/software/diffutils/ |
| 仓库 | https://git.savannah.gnu.org/git/diffutils.git |
| 上游文档 | https://www.gnu.org/software/diffutils/manual |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://ftpmirror.gnu.org/gnu/diffutils/diffutils-3.12.tar.xz |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | diffutils |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
diffutils 1:3.10-4
File comparison utilities
https://www.gnu.org/software/diffutils/
sudo apt install diffutilsdiffutils-doc 1:3.10-4
Documentation for GNU diffutils in HTML format
https://www.gnu.org/software/diffutils/
sudo apt install diffutils-docdiffutils
nix profile install nixpkgs#diffutilsdiffutils 1:3.10-1build1
File comparison utilities
https://www.gnu.org/software/diffutils/
sudo apt install diffutilsdiffutils-doc 1:3.10-1build1
Documentation for GNU diffutils in HTML format
https://www.gnu.org/software/diffutils/
sudo apt install diffutils-docdiffutils 3.12-r0
Show differences among files
https://www.gnu.org/software/diffutils/
sudo apk add diffutilsdiffutils-doc 3.12-r0
Show differences among files (documentation)
https://www.gnu.org/software/diffutils/
sudo apk add diffutils-docdiffutils 3.12-5.fc44
GNU collection of diff utilities
https://www.gnu.org/software/diffutils/diffutils.html
sudo dnf install diffutilsdiffutils 3.12-2
Utility programs used for creating patch files
https://www.gnu.org/software/diffutils
sudo pacman -S diffutilsdiffutils 3.12-1.3
GNU diff Utilities
https://www.gnu.org/software/diffutils/
sudo zypper install diffutilsdiffutils-lang 3.12-1.3
Translations for package diffutils
https://www.gnu.org/software/diffutils/
sudo zypper install diffutils-langdiffutils
sudo port install diffutilsdiffutils
choco install diffutilsmain/diffutils
scoop install main/diffutilsuutils.diffutils
winget install --id uutils.diffutils -eDBAdminX.Diff
winget install --id DBAdminX.Diff -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.