# cpdf を Homebrew, apk, dnf, winget でインストール

cpdf のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:cpdf
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install cpdf
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add cpdf
```

  証拠: Alpine Linux edge package indexes: cpdf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- dnf (92%):

```sh
sudo dnf install cpdf
```

  証拠: Fedora Rawhide package metadata: cpdf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id CoherentGraphics.Cpdf -e
```

  証拠: Windows Package Manager source index: CoherentGraphics.Cpdf from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:cpdf
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.9.1
- **ソース概要:** PDF Command-line Tools
- **ホームページ:** <https://github.com/johnwhitington/cpdf-source>
- **リポジトリ:** <https://github.com/johnwhitington/cpdf-source>
- **最終更新:** 2026-07-13T05:11:30Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- cpdf (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.9.1
## プロジェクトの歴史と使われ方

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.

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

- <https://github.com/johnwhitington/cpdf-source#readme>
- <https://www.coherentpdf.com/cpdfmanual.pdf>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- apk - cpdf - 2.9.1-r0: normalized package name match | Alpine Linux edge package indexes: cpdf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Coherent PDF command line tools | https://community.coherentpdf.com/
- apk - cpdf-doc - 2.9.1-r0: normalized package name match | Alpine Linux edge package indexes: cpdf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Coherent PDF command line tools (documentation) | https://community.coherentpdf.com/
- apk - ocaml-camlpdf - 2.9.1-r0: normalized package name match | Alpine Linux edge package indexes: ocaml-camlpdf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OCaml library for reading, writing, and modifying PDF files | https://community.coherentpdf.com/
- apk - ocaml-cpdf - 2.9.1-r0: normalized package name match | Alpine Linux edge package indexes: ocaml-cpdf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Coherent PDF command line tools (OCaml library) | https://community.coherentpdf.com/
- dnf - cpdf - 2.9-3.fc45: normalized package name match | Fedora Rawhide package metadata: cpdf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Command line tool for processing PDFs | https://github.com/johnwhitington/cpdf-source
- winget - CoherentGraphics.Cpdf: normalized package name match | Windows Package Manager source index: CoherentGraphics.Cpdf from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/cpdf.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cpdf.yml)


## ソース

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