macOS
brew install diff-pdflocal Homebrew formula metadata
sudo port install diff-pdfMacPorts ports tree · graphics/diff-pdf/Portfile · 来源: api.github.com
安装
brew install diff-pdflocal Homebrew formula metadata
sudo port install diff-pdfMacPorts ports tree · graphics/diff-pdf/Portfile · 来源: api.github.com
sudo apk add diff-pdfAlpine Linux edge package indexes · diff-pdf · 来源: dl-cdn.alpinelinux.org
sudo dnf install diff-pdfFedora Rawhide package metadata · diff-pdf · 来源: dl.fedoraproject.org
nix profile install nixpkgs#diff-pdfnixpkgs package indexes · pkgs/by-name/di/diff-pdf/package.nix · 来源: api.github.com
sudo pacman -S diff-pdfArch Linux sync databases · diff-pdf · 来源: geo.mirror.pkgbuild.com
sudo zypper install diff-pdfopenSUSE Tumbleweed package metadata · diff-pdf · 来源: download.opensuse.org
scoop install extras/diff-pdfScoop official bucket manifest trees · bucket/diff-pdf.json · 来源: api.github.com
概览
Visually compare two PDF files
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
diff-pdf | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/vslavik/diff-pdf
安装元数据
| 软件包键 | brew:diff-pdf |
|---|---|
| 版本 | 0.5.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/diff-pdf |
| 主页 | https://vslavik.github.io/diff-pdf/ |
| 仓库 | https://github.com/vslavik/diff-pdf |
| 上游文档 | https://github.com/vslavik/diff-pdf#readme |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://github.com/vslavik/diff-pdf/releases/download/v0.5.3/diff-pdf-0.5.3.tar.gz |
| 最后更新 | 2026-05-14T22:24:05-04:00 |
| Pulse | updated |
| 依赖 | cairo, gettext, glib, poppler, wxwidgets@3.2 |
| 构建依赖 | autoconf, automake, libtool, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-pdf来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.