macOS
brew install diff-pdflocal Homebrew formula metadata
sudo port install diff-pdfMacPorts ports tree · graphics/diff-pdf/Portfile · source: api.github.com
brew
Visually compare two PDF files. Version 0.5.3 via Homebrew; verified 2026-05-14.
install
brew install diff-pdflocal Homebrew formula metadata
sudo port install diff-pdfMacPorts ports tree · graphics/diff-pdf/Portfile · source: api.github.com
sudo apk add diff-pdfAlpine Linux edge package indexes · diff-pdf · source: dl-cdn.alpinelinux.org
sudo dnf install diff-pdfFedora Rawhide package metadata · diff-pdf · source: dl.fedoraproject.org
nix profile install nixpkgs#diff-pdfnixpkgs package indexes · pkgs/by-name/di/diff-pdf/package.nix · source: api.github.com
sudo pacman -S diff-pdfArch Linux sync databases · diff-pdf · source: geo.mirror.pkgbuild.com
sudo zypper install diff-pdfopenSUSE Tumbleweed package metadata · diff-pdf · source: download.opensuse.org
scoop install extras/diff-pdfScoop official bucket manifest trees · bucket/diff-pdf.json · source: api.github.com
overview
Visually compare two PDF files
history
diff-pdf is a small visual comparison tool for PDF files. It can act like a quiet CLI checker through exit status, emit a highlighted diff PDF, or open a simple viewer for page-by-page inspection.
The upstream GitHub repository was created in 2009 and describes diff-pdf as a simple tool for visually comparing two PDF files. The README now labels the project as provided as-is and not actively developed, while still welcoming patches.
The project has kept a traditional autotools build and depends on wxWidgets, Cairo, and Poppler. GitHub releases show continuing tagged maintenance from the 0.3 series in 2019 through 0.5.3 in 2026.
diff-pdf became useful to packagers because it fills a precise automation gap: comparing rendered PDFs in CI, document workflows, and release checks where textual diffs do not describe visual output. The README documents installation through Windows release ZIPs, Chocolatey, Homebrew, MacPorts, Fedora/CentOS packages, and openSUSE builds.
Common usage is diff-pdf a.pdf b.pdf for an exit code, --output-diff=diff.pdf for a marked-up artifact, or --view for an interactive GUI. That mix makes it useful both in scripts and in manual document review.
The package is a good example of Unix packaging around graphical document infrastructure: a CLI front end with GUI mode, native library dependencies, and real value in reproducible document testing.
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 |
|---|---|---|---|
diff-pdf | 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/vslavik/diff-pdf
install metadata
| Package key | brew:diff-pdf |
|---|---|
| Version | 0.5.3 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/diff-pdf |
| Homepage | https://vslavik.github.io/diff-pdf/ |
| Repository | https://github.com/vslavik/diff-pdf |
| Upstream docs | https://github.com/vslavik/diff-pdf#readme |
| License | GPL-2.0-or-later |
| Source archive | https://github.com/vslavik/diff-pdf/releases/download/v0.5.3/diff-pdf-0.5.3.tar.gz |
| Last updated | 2026-05-14T22:24:05-04:00 |
| Pulse | updated |
| Dependencies | cairo, gettext, glib, poppler, wxwidgets@3.2 |
| Build dependencies | autoconf, automake, libtool, pkgconf |
| 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 | diff-pdf |
| Version Scheme | 0 |
| Revision | 0 |
| 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.
diff-pdf
nix profile install nixpkgs#diff-pdfdiff-pdf 0.5.3-r0
A simple tool for visually comparing two PDF files
https://vslavik.github.io/diff-pdf/
sudo apk add diff-pdfdiff-pdf 0.5.3-1.fc45
A simple tool for visually comparing two PDF files
http://vslavik.github.io/diff-pdf/
sudo dnf install diff-pdfdiff-pdf 0.5.3-1
A simple tool for visually comparing two PDF files
http://vslavik.github.io/diff-pdf
sudo pacman -S diff-pdfdiff-pdf 0.5-2.17
Simple PDF comparison tool
https://vslavik.github.io/diff-pdf/
sudo zypper install diff-pdfdiff-pdf
sudo port install diff-pdfextras/diff-pdf
scoop install extras/diff-pdfsource 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.