🍺 BREW Explorer

← all formulae

cpdf

brew install cpdf v2.9.1 AGPL-3.0-only

PDF Command-line Tools

316
30-day installs · #2175
566
90-day · #2760
1.6k
365-day · #3102
278
★ GitHub stars · updated 2mo ago

Runtime dependencies

Build dependencies

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "ocaml-findlib"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "camlpdf",
    "ocaml"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "PDF Command-line Tools",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:38+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "cpdf",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-18T16:05:05Z",
  "github_readme_excerpt": "\u003cimg width=\"400\" height=\"163\" alt=\"cpdf logo\" src=\"https://github.com/user-attachments/assets/af9e0a36-4bf3-49e0-b7c0-2534e7e1f0d6\" /\u003e\n\nCoherent PDF Command Line Tools\n===============================\n\n(If you are looking for binaries, there are here: https://www.github.com/coherentgraphics/cpdf-binaries )\n\nCPDF is distributed under the AGPL - see LICENSE.md. If you are unable to abide\nby the terms of the AGPL, you will need a commercial license.\n\nSee also original copyright and/or license statements in cpdfxmlm.ml*,\ncpdfyojson.ml*, cpdfua.ml, cpdfunicodedata.*, and compressor.\n\nFor commercial licenses, email\n[contact@coherentgraphics.co.uk](mailto:contact@coherentgraphics.co.uk) or\nvisit [https://www.coherentpdf.com/](https://www.coherentpdf.com/)\n\nCopyright Coherent Graphics Ltd 2026.\n\nKeep up to date by joining the very low volume cpdf-announce mailing list:\n\nhttps://groups.google.com/g/cpdf-announce/\n\nThis code builds two things:\n\na) The CPDF PDF command line tool for editing PDF files.\n\nb) cpdf as an OCaml library, for which documentation is here:\n\n[https://coherentpdf.com/cpdf/](https://coherentpdf.com/cpdf/)\n\nPrerequisites to build\n----------------------\n\nThe OCaml compiler\n\n[https://ocaml.org](https://ocaml.org)\n\nThe camlpdf library\n\n[https://github.com/johnwhitington/camlpdf](https://www.github.com/johnwhitington/camlpdf)\n\nThe ocamlfind library manager\n\n[https://projects.camlcity.org/projects/findlib.html](https://projects.camlcity.org/projects/findlib.html)\n\nIf you are using the OPAM package manager:\n\n[https://opam.ocaml.org](http://opam.ocaml.org)\n\nthese can be installed by:\n\n```\nopam install camlpdf\n```\n\nTo build\n--------\n\nIf downloading from Github, obtain the correct source. This means choosing the\ntag for a particular version, such as \"v2.9.1\". The head of the master branch\nis unstable.\n\n1. Type `make` to make the cpdf executable and the library\n\n2. Type `make install` to install the OCaml cpdf library.\n\nThe `cpdf` executable should be manually placed ",
  "github_repo": "johnwhitington/cpdf-source",
  "github_stars": 278,
  "github_topics": [],
  "homepage": "https://github.com/johnwhitington/cpdf-source",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 316,
  "installs_365d": 1603,
  "installs_90d": 566,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "AGPL-3.0-only",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "cpdf",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 2175,
  "rank_365d": 3102,
  "rank_90d": 2760,
  "raw_hash": "e135571a70456d69",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/c/cpdf.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "2.9.1",
  "versioned_formulae": [],
  "why_use_this": null
}