Automic VaultAutomic Vault

brew

Install cpdf with Homebrew, apk, dnf, winget

PDF Command-line Tools. Version 2.9.1 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install cpdf

local Homebrew formula metadata

Windows

Windows Package Managerverified · 92%
winget install --id CoherentGraphics.Cpdf -e

Windows Package Manager source index · CoherentGraphics.Cpdf · source: cdn.winget.microsoft.com

overview

Package summary

PDF Command-line Tools

Commands and aliases

  • cpdf

history

Project history and usage

cpdf is the Coherent PDF command-line tool for editing PDF files, distributed as source under the AGPL with separate commercial licensing available from Coherent Graphics.

Project history

The official source README describes cpdf as both a command-line PDF editing tool and an OCaml library. It directs binary users to a separate cpdf-binaries repository and tells source users to build tagged versions rather than the unstable master branch.

Adoption history

Official packaging information in the README includes OPAM installation for the OCaml library and notes that cpdf may also be available from package managers. The batch source facts list Homebrew, Alpine, Fedora-family, and winget mappings, showing distribution beyond the upstream binary channel.

How it is used

cpdf is used as a command-line document-processing tool for PDF manipulation. The upstream documentation is a PDF manual, while the source tree also builds OCaml library documentation after compilation.

Why package nerds care

cpdf is packaging-relevant because it combines a CLI binary, an OCaml library, AGPL/commercial licensing choices, OPAM installation, upstream binary releases, and downstream OS package entries. That mix affects how packagers choose source tags, license metadata, and binary placement.

Timeline

  • Tagged releases: The README instructs GitHub source users to choose a version tag such as v2.9.1.
  • 2023: The README notes PDF/UA support was implemented under NLnet grant 2023-12-031.
  • 2025: The README notes redaction support is being implemented under NLnet grant 2025-10-235.
  • 2026: The README carries Coherent Graphics Ltd copyright through 2026.

Related projects

  • The README names camlpdf as a build prerequisite and lists related C, Python, Java, .NET, and JavaScript interfaces, including cpdflib-source, pycpdflib, jcpdf, dotnet-libcpdf, and coherentpdf.js.

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 6 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
cpdfcliglobal 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-07-08
manager version2.9.1
manager updated2026-06-22
local dataok
upstreamcurrent
latest detectedv2.9.1

https://github.com/johnwhitington/cpdf-source

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:cpdf
Version2.9.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/cpdf
Homepagehttps://github.com/johnwhitington/cpdf-source
Repositoryhttps://github.com/johnwhitington/cpdf-source
Upstream docshttps://github.com/johnwhitington/cpdf-source#readme
LicenseAGPL-3.0-only
Source archivehttps://github.com/johnwhitington/cpdf-source/archive/refs/tags/v2.9.1.tar.gz
Last updated2026-06-22T14:03:05-07:00
Pulseupdated
Dependenciescamlpdf, ocaml
Build dependenciesocaml-findlib
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namecpdf
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.

apk95%

cpdf 2.9-r0

Coherent PDF command line tools

https://community.coherentpdf.com/

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

cpdf-doc 2.9-r0

Coherent PDF command line tools (documentation)

https://community.coherentpdf.com/

sudo apk add cpdf-doc
  • License: AGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: cpdf
  • normalized package name match
  • Matched by: Cpdf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: cpdf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libcpdf 2.9-r0

Coherent PDF command line tools (libraries)

https://community.coherentpdf.com/

sudo apk add libcpdf
  • License: AGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: cpdf
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Cpdf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcpdf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libcpdf-dev 2.9-r0

Coherent PDF command line tools (development files)

https://community.coherentpdf.com/

sudo apk add libcpdf-dev
  • License: AGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: cpdf
  • 1 dependencies
  • normalized package name match
  • Matched by: Cpdf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcpdf-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libcpdf-static 2.9-r0

Coherent PDF command line tools (static library)

https://community.coherentpdf.com/

sudo apk add libcpdf-static
  • License: AGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: cpdf
  • 1 dependencies
  • normalized package name match
  • Matched by: Cpdf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libcpdf-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

ocaml-camlpdf 2.9-r0

OCaml library for reading, writing, and modifying PDF files

https://community.coherentpdf.com/

sudo apk add ocaml-camlpdf
  • License: LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception
  • Architecture: x86_64
  • Source Package: cpdf
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Cpdf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ocaml-camlpdf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

ocaml-cpdf 2.9-r0

Coherent PDF command line tools (OCaml library)

https://community.coherentpdf.com/

sudo apk add ocaml-cpdf
  • License: AGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: cpdf
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Cpdf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ocaml-cpdf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

cpdf 2.9-1.fc45

Command line tool for processing PDFs

https://github.com/johnwhitington/cpdf-source

sudo dnf install cpdf
  • License: AGPL-3.0-only and ISC and BSD-3-Clause and CC-BY-4.0 and Unicode-DFS-2015
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: ocaml-cpdf
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Cpdf
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: cpdf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
winget95%

CoherentGraphics.Cpdf

winget install --id CoherentGraphics.Cpdf -e
  • normalized package name match
  • Matched by: Cpdf
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: CoherentGraphics.Cpdf from https://cdn.winget.microsoft.com/cache/source.msix

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
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment