pkg.soopen package index

brew / rank 546

Install qpdf with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

Tools for and transforming and inspecting PDF files. Version 12.4.1 via Homebrew; verified 2026-09-10. Also installable with debian: sudo apt install libqpdf-dev.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install qpdf

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install qpdf

MacPorts ports tree · textproc/qpdf/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add qpdf

Alpine Linux edge package indexes · qpdf · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install qpdf

Debian stable package indexes · qpdf · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install qpdf

Fedora Rawhide package metadata · qpdf · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#qpdf

nixpkgs package indexes · pkgs/by-name/qp/qpdf/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S qpdf

Arch Linux sync databases · qpdf · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install qpdf

openSUSE Tumbleweed package metadata · qpdf · source: download.opensuse.org

overview

Package summary

Tools for and transforming and inspecting PDF files

Commands and aliases

  • fix-qdf
  • qpdf
  • zlib-flate

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2008-04: qpdf 2.0 became the first public release.
  • 2009-10: qpdf 2.1 added Windows support, a DLL, a partial C API, AES, and crypt filters.
  • 2017-09: qpdf 7.0 changed its primary license to Apache-2.0.
  • 2018-02: qpdf 8.0 added AppImage distribution.
  • 2022: qpdf 11 replaced the autoconf build with CMake.

Related projects

  • fix-qdf is distributed with qpdf and repairs edited QDF files.
  • zlib-flate is a small compression utility shipped with qpdf.
  • jq can be used with qpdf's JSON representation for scripted low-level PDF modification.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 5 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
fix-qdfcliglobal executable
qpdfcliglobal executable
zlib-flatecliglobal executable

freshness

Version and 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.

page generated2026-09-19
manager version12.4.1
manager updated2026-09-10
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/qpdf/qpdf

install metadata

Package metadata

Package keybrew:qpdf
Version12.4.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/qpdf
Homepagehttps://qpdf.sourceforge.io/
Repositoryhttps://github.com/qpdf/qpdf
Upstream docshttps://qpdf.sourceforge.io/
LicenseApache-2.0
Source archivehttps://github.com/qpdf/qpdf/releases/download/v12.4.1/qpdf-12.4.1.tar.gz
Last updated2026-09-10T09:19:20Z
Pulseupdated
Dependenciesjpeg-turbo, openssl@3
Build dependenciescmake
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameqpdf
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libqpdf-dev 12.2.0-1

development files for PDF transformation/inspection library

https://qpdf.sourceforge.io

sudo apt install libqpdf-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: qpdf
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Qpdf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libqpdf-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libqpdf30 12.2.0-1

runtime library for PDF transformation/inspection software

https://qpdf.sourceforge.io

sudo apt install libqpdf30
  • Section: libs
  • Architecture: amd64
  • Source Package: qpdf
  • 6 dependencies
  • normalized package name match
  • Matched by: Qpdf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libqpdf30 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

qpdf 12.2.0-1

tools for transforming and inspecting PDF files

https://qpdf.sourceforge.io

sudo apt install qpdf
  • Section: text
  • Architecture: amd64
  • 4 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Qpdf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: qpdf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

qpdf-doc 12.2.0-1

tools for transforming and inspecting PDF files

https://qpdf.sourceforge.io

sudo apt install qpdf-doc
  • Section: text
  • Architecture: all
  • Source Package: qpdf
  • 3 dependencies
  • normalized package name match
  • Matched by: Qpdf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: qpdf-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

qpdf

nix profile install nixpkgs#qpdf
  • normalized package name match
  • Matched by: Qpdf
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/qp/qpdf/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libqpdf-dev 11.9.0-1.1build1

development files for PDF transformation/inspection library

https://qpdf.sourceforge.io

sudo apt install libqpdf-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: qpdf
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Qpdf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libqpdf-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libqpdf29t64 11.9.0-1.1build1

runtime library for PDF transformation/inspection software

https://qpdf.sourceforge.io

sudo apt install libqpdf29t64
  • Section: libs
  • Architecture: amd64
  • Source Package: qpdf
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Qpdf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libqpdf29t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

qpdf 11.9.0-1.1build1

tools for transforming and inspecting PDF files

https://qpdf.sourceforge.io

sudo apt install qpdf
  • Section: universe/text
  • Architecture: amd64
  • 4 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Qpdf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: qpdf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

qpdf-doc 11.9.0-1.1build1

tools for transforming and inspecting PDF files

https://qpdf.sourceforge.io

sudo apt install qpdf-doc
  • Section: text
  • Architecture: all
  • Source Package: qpdf
  • 3 dependencies
  • normalized package name match
  • Matched by: Qpdf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: qpdf-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

qpdf 12.4.0-r0

Command-line tools and library for transforming PDF files

https://github.com/qpdf/qpdf

sudo apk add qpdf
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: qpdf
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Qpdf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: qpdf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

qpdf-dev 12.4.0-r0

Command-line tools and library for transforming PDF files (development files)

https://github.com/qpdf/qpdf

sudo apk add qpdf-dev
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: qpdf
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Qpdf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: qpdf-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

qpdf-doc 12.4.0-r0

Command-line tools and library for transforming PDF files (documentation)

https://github.com/qpdf/qpdf

sudo apk add qpdf-doc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: qpdf
  • normalized package name match
  • Matched by: Qpdf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: qpdf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

qpdf-fix-qdf 12.4.0-r0

Repair PDF files in QDF form after editing

https://github.com/qpdf/qpdf

sudo apk add qpdf-fix-qdf
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: qpdf
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Qpdf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: qpdf-fix-qdf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

qpdf-libs 12.4.0-r0

Command-line tools and library for transforming PDF files (libraries)

https://github.com/qpdf/qpdf

sudo apk add qpdf-libs
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: qpdf
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Qpdf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: qpdf-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

qpdf 12.4.0-1.fc45

Command-line tools and library for transforming PDF files

https://qpdf.sourceforge.io/

sudo dnf install qpdf
  • License: Apache-2.0 OR Artistic-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: qpdf
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Qpdf
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: qpdf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
dnf95%

qpdf-devel 12.4.0-1.fc45

Development files for QPDF library

https://qpdf.sourceforge.io/

sudo dnf install qpdf-devel
  • License: Apache-2.0 OR Artistic-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: qpdf
  • 5 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Qpdf
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: qpdf-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation