macOS
brew install qpdflocal Homebrew formula metadata
sudo port install qpdfMacPorts ports tree · textproc/qpdf/Portfile · 来源: api.github.com
安装
brew install qpdflocal Homebrew formula metadata
sudo port install qpdfMacPorts ports tree · textproc/qpdf/Portfile · 来源: api.github.com
sudo apk add qpdfAlpine Linux edge package indexes · qpdf · 来源: dl-cdn.alpinelinux.org
sudo dnf install qpdfFedora Rawhide package metadata · qpdf · 来源: dl.fedoraproject.org
nix profile install nixpkgs#qpdfnixpkgs package indexes · pkgs/by-name/qp/qpdf/package.nix · 来源: api.github.com
sudo pacman -S qpdfArch Linux sync databases · qpdf · 来源: geo.mirror.pkgbuild.com
sudo zypper install qpdfopenSUSE Tumbleweed package metadata · qpdf · 来源: download.opensuse.org
choco install qpdfChocolatey community package catalog · qpdf · 来源: community.chocolatey.org
scoop install main/qpdfScoop official bucket manifest trees · bucket/qpdf.json · 来源: api.github.com
winget install --id QPDF.QPDF -eWindows Package Manager source index · QPDF.QPDF · 来源: cdn.winget.microsoft.com
概览
Tools for and transforming and inspecting PDF files
历史
qpdf is a cross-platform command-line program and C++ library for structural, content-preserving PDF transformations. It is designed for inspecting PDF internals and for operations such as splitting, merging, encryption, linearization, repair, and low-level object manipulation rather than viewing or rendering document content.
qpdf's first public release was version 2.0 in April 2008. Early development concentrated on portability and recovery from malformed PDFs; version 2.1 added Windows support, a DLL, a partial C interface, AES encryption, and crypt filters in October 2009.
The project subsequently expanded its command-line and library interfaces while retaining its focus on structural transformations. Version 7 changed the primary license to Apache-2.0 and improved damaged-file recovery, while version 8 introduced an AppImage and higher-level helper APIs. Later development added JSON-based inspection and modification, job-based interfaces, broader cryptographic-provider support, and a CMake build system.
qpdf has matured into both a command-line utility and a reusable C++ library with C bindings. The supplied package metadata records packages across Homebrew, Debian and Ubuntu, Fedora, Alpine, Arch, Nix, MacPorts, Chocolatey, Scoop, winget, and openSUSE ecosystems, indicating unusually broad cross-platform packaging.
Windows support and a partial C API arrived in 2009. Later releases added AppImage distribution, continuous cross-platform release builds, shell-completion guidance for packagers, and installed pkg-config and CMake package metadata for downstream developers.
Typical command-line uses include checking or repairing PDFs, merging and splitting pages, decrypting or password-protecting documents, web-optimizing through linearization, and inspecting or changing low-level PDF objects. Developers can link against libqpdf through installed pkg-config or CMake metadata.
QDF mode produces a valid but editor-friendly PDF representation that can be repaired after editing with fix-qdf. qpdf JSON provides a language-neutral representation that can be manipulated with scripts or command-line JSON tools.
qpdf occupies a distinctive niche between a PDF viewer and a content-creation toolkit: it exposes PDF structure while preserving page content. Package maintainers and automation authors value its small dependency footprint, stable command-line interface, library API, repair behavior, encryption support, and ability to split, merge, linearize, inspect, and transform PDFs without rendering them.
Its QDF and JSON representations are especially useful to Unix-tool enthusiasts because they make otherwise opaque PDF internals accessible to text editors, scripts, and tools such as jq. The companion fix-qdf and zlib-flate executables extend that low-level toolbox.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
fix-qdf | cli | 全局可执行文件 | |
qpdf | cli | 全局可执行文件 | |
zlib-flate | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:qpdf |
|---|---|
| 版本 | 12.4.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/qpdf |
| 主页 | https://qpdf.sourceforge.io/ |
| 仓库 | https://github.com/qpdf/qpdf |
| 上游文档 | https://qpdf.sourceforge.io/ |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/qpdf/qpdf/releases/download/v12.4.1/qpdf-12.4.1.tar.gz |
| 最后更新 | 2026-09-10T09:19:20Z |
| Pulse | updated |
| 依赖 | jpeg-turbo, openssl@3 |
| 构建依赖 | cmake |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | qpdf |
| 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 软件包链接分开显示。
libqpdf-dev 12.2.0-1
development files for PDF transformation/inspection library
sudo apt install libqpdf-devlibqpdf30 12.2.0-1
runtime library for PDF transformation/inspection software
sudo apt install libqpdf30qpdf 12.2.0-1
tools for transforming and inspecting PDF files
sudo apt install qpdfqpdf-doc 12.2.0-1
tools for transforming and inspecting PDF files
sudo apt install qpdf-docqpdf
nix profile install nixpkgs#qpdflibqpdf-dev 11.9.0-1.1build1
development files for PDF transformation/inspection library
sudo apt install libqpdf-devlibqpdf29t64 11.9.0-1.1build1
runtime library for PDF transformation/inspection software
sudo apt install libqpdf29t64qpdf 11.9.0-1.1build1
tools for transforming and inspecting PDF files
sudo apt install qpdfqpdf-doc 11.9.0-1.1build1
tools for transforming and inspecting PDF files
sudo apt install qpdf-docqpdf 12.4.0-r0
Command-line tools and library for transforming PDF files
sudo apk add qpdfqpdf-dev 12.4.0-r0
Command-line tools and library for transforming PDF files (development files)
sudo apk add qpdf-devqpdf-doc 12.4.0-r0
Command-line tools and library for transforming PDF files (documentation)
sudo apk add qpdf-docqpdf-fix-qdf 12.4.0-r0
Repair PDF files in QDF form after editing
sudo apk add qpdf-fix-qdfqpdf-libs 12.4.0-r0
Command-line tools and library for transforming PDF files (libraries)
sudo apk add qpdf-libsqpdf 12.4.0-1.fc45
Command-line tools and library for transforming PDF files
sudo dnf install qpdfqpdf-devel 12.4.0-1.fc45
Development files for QPDF library
sudo dnf install qpdf-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.