macOS
brew install diffutilslocal Homebrew formula metadata
sudo port install diffutilsMacPorts ports tree · sysutils/diffutils/Portfile · source: api.github.com
brew / rank 1110
File comparison utilities. Version 3.12 via Homebrew; verified from local package data. Also installable with debian: sudo apt install diffutils.
install
brew install diffutilslocal Homebrew formula metadata
sudo port install diffutilsMacPorts ports tree · sysutils/diffutils/Portfile · source: api.github.com
sudo apk add diffutilsAlpine Linux edge package indexes · diffutils · source: dl-cdn.alpinelinux.org
sudo apt install diffutilsDebian stable package indexes · diffutils · source: deb.debian.org
sudo dnf install diffutilsFedora Rawhide package metadata · diffutils · source: dl.fedoraproject.org
nix profile install nixpkgs#diffutilsnixpkgs package indexes · pkgs/by-name/di/diffutils/package.nix · source: api.github.com
sudo pacman -S diffutilsArch Linux sync databases · diffutils · source: geo.mirror.pkgbuild.com
sudo zypper install diffutilsopenSUSE Tumbleweed package metadata · diffutils · source: download.opensuse.org
choco install diffutilsChocolatey community package catalog · diffutils · source: community.chocolatey.org
scoop install main/diffutilsScoop official bucket manifest trees · bucket/diffutils.json · source: api.github.com
winget install --id uutils.diffutils -eWindows Package Manager source index · uutils.diffutils · source: cdn.winget.microsoft.com
overview
File comparison utilities
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
cmp | executable | indexed executable | Discovered from the local executable index. |
diff | executable | indexed executable | Discovered from the local executable index. |
diff3 | executable | indexed executable | Discovered from the local executable index. |
sdiff | executable | indexed executable | Discovered from the local executable index. |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:diffutils |
|---|---|
| Version | 3.12 |
| Package manager | Homebrew |
| Homepage | https://www.gnu.org/software/diffutils/ |
| Bottle | not recorded |
| Service | none declared |
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-6.fc45
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.5
GNU diff Utilities
https://www.gnu.org/software/diffutils/
sudo zypper install diffutilsdiffutils-lang 3.12-1.5
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 -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.