Automic VaultAutomic Vault

brew

ocrmypdf を Homebrew, apk, apt, dnf, MacPorts, Nix, zypper でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install ocrmypdf

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install ocrmypdf

MacPorts ports tree · textproc/ocrmypdf/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add ocrmypdf

Alpine Linux edge package indexes · ocrmypdf · ソース: dl-cdn.alpinelinux.org

Debian apt確認済み · 92%
sudo apt install ocrmypdf

Debian stable package indexes · ocrmypdf · ソース: deb.debian.org

Fedora dnf確認済み · 92%
sudo dnf install ocrmypdf

Fedora Rawhide package metadata · ocrmypdf · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#ocrmypdf

nixpkgs package indexes · ocrmypdf · ソース: raw.githubusercontent.com

openSUSE zypper確認済み · 92%
sudo zypper install python311-ocrmypdf

openSUSE Tumbleweed package metadata · python311-ocrmypdf · ソース: download.opensuse.org

概要

パッケージ概要

Adds an OCR text layer to scanned PDF files

コマンドとエイリアス

  • ocrmypdf

履歴

プロジェクトの歴史と使われ方

OCRmyPDF is a Python command-line application and library that adds an OCR text layer to scanned PDF files, making image-based documents searchable and copyable while preserving the original page images where possible.

プロジェクトの歴史

The project’s documentation frames OCRmyPDF around an awkward document-processing gap: PDF is the normal container for scanned documents, but existing scanned PDFs are difficult to modify. OCRmyPDF automates the pipeline of rasterizing pages, running OCR, inserting an invisible text layer, and writing a validated PDF or PDF/A output.

PyPI release history shows OCRmyPDF 3.0 published on 2015-09-05 and 4.2.2 on 2016-08-31, already advertising searchable PDF/PDF-A generation and preservation of embedded image resolution. Later documentation describes a public API, plugin support, image optimization, language packs, Docker usage, and feature-specific release notes, showing its expansion from a practical CLI into a packaged document-processing toolkit.

採用の歴史

OCRmyPDF’s adoption follows the shape of the scanned-document problem: Linux, macOS, and distribution packagers ship it because it wraps several hard-to-coordinate pieces into one reproducible CLI. The project is available through PyPI and package managers including Homebrew, Debian/Ubuntu, Fedora, MacPorts, Nix, Alpine, and openSUSE-family packages.

The project’s packaging notes thank downstream packagers and point to broad porting status, while the README badges and package metadata show attention to PyPI, Homebrew, Read the Docs, and Python-version compatibility. That packaging breadth is part of its appeal: users can install a single command rather than hand-assemble Tesseract, Ghostscript or pypdfium2, image preprocessing, PDF/A conversion, metadata handling, and validation steps.

使われ方

The common workflow is `ocrmypdf input.pdf output.pdf`, with options for languages, page rotation, deskewing, cleaning, metadata, job parallelism, output type, PDF optimization, and redoing or skipping existing OCR. The README emphasizes searchable PDF/A output, accurate placement of OCR text below images, lossless insertion where possible, image optimization, input/output validation, Tesseract language support, and scaling to large PDFs.

The project is also used as a library or scripted tool in document-ingestion systems. Its public API and plugin documentation exist for callers that need OCRmyPDF behavior inside larger PDF processing flows rather than only from a shell.

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

OCRmyPDF is packaging glue with real teeth: it turns a fragile OCR/PDF toolchain into one command while still exposing dependency choices, language-data packaging, Docker images, plugin hooks, and PDF/A policy. It is a good package-nerd example of a Python CLI whose value is orchestrating native tools and file-format edge cases cleanly.

タイムライン

  • 2015-09-05: PyPI lists OCRmyPDF 3.0.
  • 2016-08-31: PyPI lists OCRmyPDF 4.2.2 with the core searchable-PDF feature set.
  • 2020s: release notes document continued work on PDF handling, API behavior, image optimization, plugins, rasterizer choices, and preservation of existing text layers.

Related projects

  • OCRmyPDF depends conceptually and operationally on Tesseract OCR, PDF/A tooling, Ghostscript or pypdfium2 rasterization paths, image preprocessing tools, Python PDF libraries, and distribution language-pack packages.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 15 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 2 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
ocrmypdfcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版17.8.0
マネージャ更新日2026-07-02
ローカルデータOK
上流not checked
検出された最新未検出

https://ocrmypdf.readthedocs.io/en/latest/

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:ocrmypdf
バージョン17.8.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/ocrmypdf
ホームページhttps://ocrmypdf.readthedocs.io/en/latest/
リポジトリhttps://github.com/ocrmypdf/OCRmyPDF
上流ドキュメントhttps://ocrmypdf.readthedocs.io/en/latest
ライセンスMPL-2.0
ソースアーカイブhttps://files.pythonhosted.org/packages/4b/c4/c44db9ff5282e7c73856f437434777745d18bb9404f431df70e786a6bcc7/ocrmypdf-17.8.0.tar.gz
最終更新2026-07-02T12:13:48Z
Pulseupdated
依存関係cryptography, freetype, ghostscript, img2pdf, jbig2enc, libheif, libpng, pillow, pngquant, pybind11, pydantic, python@3.14, qpdf, tesseract, unpaper
ビルド依存関係cmake, pkgconf
macOS 提供ライブラリlibffi, libxml2, libxslt
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

ocrmypdf 16.7.0+dfsg1-3

add an OCR text layer to PDF files

https://github.com/jbarlow83/OCRmyPDF

sudo apt install ocrmypdf
  • Section: graphics
  • Architecture: all
  • 16 依存関係
  • 6 任意依存関係
  • normalized package name match
  • 一致条件: Ocrmypdf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ocrmypdf from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

ocrmypdf-doc 16.7.0+dfsg1-3

add an OCR text layer to PDF files - documentation

https://github.com/jbarlow83/OCRmyPDF

sudo apt install ocrmypdf-doc
  • Section: doc
  • Architecture: all
  • Source Package: ocrmypdf
  • 2 依存関係
  • normalized package name match
  • 一致条件: Ocrmypdf
Debian stable package indexes · deb.debian.org · Debian stable package indexes: ocrmypdf-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

ocrmypdf

nix profile install nixpkgs#ocrmypdf
  • normalized package name match
  • 一致条件: Ocrmypdf
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: ocrmypdf from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

ocrmypdf 15.2.0+dfsg1-1

add an OCR text layer to PDF files

https://github.com/jbarlow83/OCRmyPDF

sudo apt install ocrmypdf
  • Section: universe/graphics
  • Architecture: all
  • 19 依存関係
  • 6 任意依存関係
  • normalized package name match
  • 一致条件: Ocrmypdf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ocrmypdf from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

ocrmypdf-doc 15.2.0+dfsg1-1

add an OCR text layer to PDF files - documentation

https://github.com/jbarlow83/OCRmyPDF

sudo apt install ocrmypdf-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: ocrmypdf
  • 2 依存関係
  • normalized package name match
  • 一致条件: Ocrmypdf
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: ocrmypdf-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

ocrmypdf 16.11.1-r2

Add OCR text layer to scanned PDF files

https://github.com/ocrmypdf/OCRmyPDF

sudo apk add ocrmypdf
  • License: MIT
  • Architecture: x86_64
  • Source Package: ocrmypdf
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Ocrmypdf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ocrmypdf from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

ocrmypdf-pyc 16.11.1-r2

Precompiled Python bytecode for ocrmypdf

https://github.com/ocrmypdf/OCRmyPDF

sudo apk add ocrmypdf-pyc
  • License: MIT
  • Architecture: x86_64
  • Source Package: ocrmypdf
  • 1 依存関係
  • normalized package name match
  • 一致条件: Ocrmypdf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: ocrmypdf-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

ocrmypdf 16.12.0-3.fc45

Add an OCR text layer to scanned PDF files

https://github.com/ocrmypdf/OCRmyPDF

sudo dnf install ocrmypdf
  • License: MPL-2.0 AND Zlib
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ocrmypdf
  • 5 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Ocrmypdf
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ocrmypdf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ocrmypdf+watcher 16.12.0-3.fc45

Metapackage for ocrmypdf: watcher extras

https://github.com/ocrmypdf/OCRmyPDF

sudo dnf install ocrmypdf+watcher
  • License: MPL-2.0 AND Zlib
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ocrmypdf
  • 4 依存関係
  • 3 提供
  • normalized package name match
  • 一致条件: Ocrmypdf
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ocrmypdf+watcher from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ocrmypdf-doc 16.12.0-3.fc45

ocrmypdf documentation

https://github.com/ocrmypdf/OCRmyPDF

sudo dnf install ocrmypdf-doc
  • License: CC-BY-SA-4.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: ocrmypdf
  • 1 提供
  • normalized package name match
  • 一致条件: Ocrmypdf
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ocrmypdf-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

python311-ocrmypdf 17.4.2-1.1

OCRmyPDF adds an OCR text layer to scanned PDF files

https://github.com/ocrmypdf/OCRmyPDF

sudo zypper install python311-ocrmypdf
  • License: MPL-2.0
  • Category: Development/Languages/Python
  • Architecture: noarch
  • Source Package: python-ocrmypdf
  • 21 依存関係
  • 4 提供
  • normalized package name match
  • 一致条件: Ocrmypdf
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python311-ocrmypdf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

python313-ocrmypdf 17.4.2-1.1

OCRmyPDF adds an OCR text layer to scanned PDF files

https://github.com/ocrmypdf/OCRmyPDF

sudo zypper install python313-ocrmypdf
  • License: MPL-2.0
  • Category: Development/Languages/Python
  • Architecture: noarch
  • Source Package: python-ocrmypdf
  • 21 依存関係
  • 5 提供
  • normalized package name match
  • 一致条件: Ocrmypdf
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python313-ocrmypdf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

python314-ocrmypdf 17.4.2-1.1

OCRmyPDF adds an OCR text layer to scanned PDF files

https://github.com/ocrmypdf/OCRmyPDF

sudo zypper install python314-ocrmypdf
  • License: MPL-2.0
  • Category: Development/Languages/Python
  • Architecture: noarch
  • Source Package: python-ocrmypdf
  • 21 依存関係
  • 4 提供
  • normalized package name match
  • 一致条件: Ocrmypdf
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python314-ocrmypdf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

ocrmypdf

sudo port install ocrmypdf
  • normalized package name match
  • 一致条件: Ocrmypdf
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/ocrmypdf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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