macOS
brew install patchutilslocal Homebrew formula metadata
sudo port install patchutilsMacPorts ports tree · devel/patchutils/Portfile · source: api.github.com
brew / rank 3472
Small collection of programs that operate on patch files. Version 0.4.5 via Homebrew; verified 2026-09-11. Also installable with debian: sudo apt install patchutils.
install
brew install patchutilslocal Homebrew formula metadata
sudo port install patchutilsMacPorts ports tree · devel/patchutils/Portfile · source: api.github.com
sudo apk add patchutilsAlpine Linux edge package indexes · patchutils · source: dl-cdn.alpinelinux.org
sudo apt install patchutilsDebian stable package indexes · patchutils · source: deb.debian.org
sudo dnf install patchutilsFedora Rawhide package metadata · patchutils · source: dl.fedoraproject.org
nix profile install nixpkgs#patchutilsnixpkgs package indexes · patchutils · source: raw.githubusercontent.com
sudo pacman -S patchutilsArch Linux sync databases · patchutils · source: geo.mirror.pkgbuild.com
sudo zypper install patchutilsopenSUSE Tumbleweed package metadata · patchutils · source: download.opensuse.org
overview
Small collection of programs that operate on patch files
history
patchutils is a suite of command-line programs for inspecting, transforming, comparing, filtering, splitting, and repairing patch files.
Tim Waugh developed patchutils as a collection of small programs operating on patch files. The suite accumulated tools for combining, filtering, splitting, comparing, recounting, and correcting diffs. After a period of low release activity, the maintainer released version 0.4.3 in 2025—the first release since 2020—with accumulated fixes, new in-place editing options, improved cross-platform support through gnulib, and enhanced diff handling.
patchutils is distributed by numerous Unix-like package systems, including Debian, Ubuntu, Fedora-family distributions, Alpine, Arch Linux, Nix, openSUSE, Homebrew, and MacPorts. This broad packaging reflects the suite's durable role in source-based development and distribution-maintenance workflows.
Users choose focused utilities such as filterdiff to select portions of a patch, interdiff to compare patch revisions, combinediff to merge incremental patches, lsdiff or grepdiff to inspect patch contents, splitdiff to separate patches, and rediff or recountdiff to repair diff metadata. The tools are designed to compose naturally with files, pipes, and source-control output.
patchutils turns patch files into manipulable data rather than treating them only as input to patch. Its focused commands support the everyday work of downstream maintainers: selecting hunks, comparing patch revisions, repairing metadata, inspecting affected files, and reorganizing patch series.
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 |
|---|---|---|---|
combinediff | cli | global executable | |
dehtmldiff | cli | global executable | |
editdiff | cli | global executable | |
espdiff | cli | global executable | |
filterdiff | cli | global executable | |
fixcvsdiff | cli | global executable | |
flipdiff | cli | global executable | |
gitdiff | cli | global executable | |
gitdiffview | cli | global executable | |
gitshow | cli | global executable | |
gitshowview | cli | global executable | |
grepdiff | cli | global executable | |
interdiff | cli | global executable | |
lsdiff | cli | global executable | |
move-to-front | cli | global executable | |
patchview | cli | global executable | |
patchview-wrapper | cli | global executable | |
recountdiff | cli | global executable | |
rediff | cli | global executable | |
splitdiff | cli | global executable | |
svndiff | cli | global executable | |
svndiffview | cli | global executable | |
unwrapdiff | cli | global executable |
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.
https://github.com/twaugh/patchutils
install metadata
| Package key | brew:patchutils |
|---|---|
| Version | 0.4.5 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/patchutils |
| Homepage | https://cyberelk.net/tim/software/patchutils/ |
| Repository | https://github.com/twaugh/patchutils |
| Upstream docs | https://cyberelk.net/tim/software/patchutils/ |
| License | GPL-2.0-or-later AND LGPL-2.1-or-later |
| Source archive | https://github.com/twaugh/patchutils/releases/download/0.4.5/patchutils-0.4.5.tar.xz |
| Last updated | 2026-09-11T18:40:21Z |
| Pulse | updated |
| Build dependencies | xmlto |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | patchutils |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
patchutils 0.4.2-1
Utilities to work with patches
http://cyberelk.net/tim/software/patchutils/
sudo apt install patchutilspatchutils
nix profile install nixpkgs#patchutilspatchutils 0.4.2-1build3
Utilities to work with patches
http://cyberelk.net/tim/software/patchutils/
sudo apt install patchutilspatchutils 0.4.5-r0
Programs for manipulating patch files
https://cyberelk.net/tim/software/patchutils/
sudo apk add patchutilspatchutils-bash-completion 0.4.5-r0
Bash completions for patchutils
https://cyberelk.net/tim/software/patchutils/
sudo apk add patchutils-bash-completionpatchutils-doc 0.4.5-r0
Programs for manipulating patch files (documentation)
https://cyberelk.net/tim/software/patchutils/
sudo apk add patchutils-docpatchutils 0.4.5-2.fc45
A collection of programs for manipulating patch files
http://cyberelk.net/tim/patchutils/
sudo dnf install patchutilspatchutils 0.4.5-1
A small collection of programs that operate on patch files
http://cyberelk.net/tim/patchutils/
sudo pacman -S patchutilspatchutils 0.4.5-1.3
A Collection of Tools for Manipulating Patch Files
https://cyberelk.net/tim/software/patchutils/
sudo zypper install patchutilspatchutils
sudo port install patchutilssource 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.