# Installer ocrad avec Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de ocrad pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:ocrad
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install ocrad
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ocrad
```

  Preuve: MacPorts ports tree: graphics/ocrad/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install libocrad-dev
```

  Preuve: Debian stable package indexes: libocrad-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ocrad
```

  Preuve: Fedora Rawhide package metadata: ocrad from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#ocrad
```

  Preuve: nixpkgs package indexes: pkgs/by-name/oc/ocrad/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S ocrad
```

  Preuve: Arch Linux sync databases: ocrad from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install ocrad
```

  Preuve: openSUSE Tumbleweed package metadata: ocrad from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Faits du paquet

- **Clé du paquet:** brew:ocrad
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/ocrad>
- **Version:** 0.29
- **Résumé source:** Optical character recognition (OCR) program
- **Page d'accueil:** <https://www.gnu.org/software/ocrad/>
- **Dépôt:** <https://savannah.gnu.org/cvs?group=ocrad>
- **Docs amont:** <https://www.gnu.org/software/ocrad>
- **Licence:** GPL-2.0-or-later
- **Archive source:** <https://ftpmirror.gnu.org/gnu/ocrad/ocrad-0.29.tar.lz>
- **Généré:** 2026-07-08T18:08:21+00:00

## exécutables

- ocrad (cli)
- ocrad (alias)

## Dépendances

- libpng

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## Version et fraîcheur

- page générée: 2026-07-08
- version du gestionnaire: 0.29
- données locales: OK
- dépôt amont: https://www.gnu.org/software/ocrad/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.
## Historique du projet et usages

GNU Ocrad is a command-line OCR program and C++ library that recognizes text from PNG and PNM-family images using feature extraction rather than a trained-shape database. It produces byte or UTF-8 text and includes layout analysis for columns and text blocks.

### Historique du projet

The GNU Ocrad manual carries copyright years 2003-2024 for Antonio Diaz Diaz, and the Free Software Directory identifies it as a GNU package. GNU’s FTP archive shows public release tarballs for the 0.14 through 0.17 series in 2006 and 2007, while the manual documents version 0.29 dated 18 January 2024.

The manual characterizes Ocrad as mainly a research project with ad hoc algorithms that may change as the author gains OCR understanding. That framing explains both the project’s small scope and its historical importance: it is a free-software OCR engine built around explicit image-processing and character-recognition code, not a wrapper around a larger OCR system.

### Historique d'adoption

Ocrad entered package repositories as a small GNU utility and library for OCR workflows before Tesseract dominated most open-source OCR packaging. Homebrew, Debian/Ubuntu, Fedora, MacPorts, Nix, Arch, and openSUSE-family metadata list packages for it or its development library, keeping it available for scripts and programs that need a lightweight OCR backend.

### Modes d'utilisation

Users invoke `ocrad` on PNG, PBM, PGM, or PPM images, optionally enabling layout analysis, scaling, thresholding, rotation, character-set selection, postprocessing filters, and UTF-8 output. The manual also documents conversion pipelines from PostScript, PDF, TIFF, JPEG, and compressed PNM through Ghostscript or Netpbm-style tools before recognition.

As a library, Ocrad exposes functions for loading images, setting output format and thresholds, running recognition, and retrieving block, line, and character results. Its OCR results file format gives downstream programs access to text blocks, line positions, character boxes, guesses, and confidence values.

### Pourquoi les passionnés de paquets s'y intéressent

For package metadata, Ocrad is a good example of a GNU-era single-purpose C++ utility that is both an executable and a library. It connects classic Unix image pipelines, OCR experimentation, GPL packaging, and downstream development packages such as Debian and Ubuntu’s `libocrad-dev`.

### Chronologie

- 2003: the manual’s copyright range begins, matching Ocrad’s early GNU-era development period.
- 2006-2007: GNU FTP archives list 0.14, 0.15, 0.16, and 0.17 release tarballs.
- 2022: the Free Software Directory listed 0.28 as a stable release dated 17 January 2022.
- 2024-01-18: the GNU manual documents version 0.29.

### Related projects

- Ocrad belongs with GNU image/text-processing utilities, Netpbm and Ghostscript conversion pipelines, and OCR front ends or callers that can use a command-line OCR backend.

### Sources

- <https://directory.fsf.org/wiki/Ocrad>
- <https://ftp.gnu.org/gnu/ocrad/>
- <https://savannah.gnu.org/projects/ocrad/>
- <https://www.gnu.org/software/ocrad/manual/ocrad_manual.html>
- source_facts.executables
- source_facts.package-manager


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Détails de la base source

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ocrad
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Autres enregistrements de gestionnaires de paquets

- Debian apt - libocrad-dev - 0.29-1: normalized package name match | Debian stable package indexes: libocrad-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | optical character recognition library | https://www.gnu.org/software/ocrad/ocrad.html
- Debian apt - ocrad - 0.29-1: normalized package name match | Debian stable package indexes: ocrad from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | optical character recognition program | https://www.gnu.org/software/ocrad/ocrad.html
- Nix - ocrad: normalized package name match | nixpkgs package indexes: pkgs/by-name/oc/ocrad/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libocrad-dev - 0.28-4build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libocrad-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | optical character recognition library | https://www.gnu.org/software/ocrad/ocrad.html
- Ubuntu apt - ocrad - 0.28-4build2: normalized package name match | Ubuntu 24.04 LTS package indexes: ocrad from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | optical character recognition program | https://www.gnu.org/software/ocrad/ocrad.html
- dnf - ocrad - 0.29-6.fc44: normalized package name match | Fedora Rawhide package metadata: ocrad from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | An Optical Character Recognition program | http://www.gnu.org/software/ocrad/ocrad.html
- pacman - ocrad - 0.29-3: normalized package name match | Arch Linux sync databases: ocrad from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | OCR (Optical Character Recognition) program based on a feature extraction method | https://www.gnu.org/software/ocrad/
- zypper - ocrad - 0.29-1.7: normalized package name match | openSUSE Tumbleweed package metadata: ocrad from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Optical Character Recognition Program | https://www.gnu.org/software/ocrad/
- zypper - ocrad-devel - 0.29-1.7: normalized package name match | openSUSE Tumbleweed package metadata: ocrad-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Development files for GNU ocrad | https://www.gnu.org/software/ocrad/
- MacPorts - ocrad: normalized package name match | MacPorts ports tree: graphics/ocrad/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Liens liés

- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/fr/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/fr/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/fr/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [libpng](https://www.automicvault.com/fr/pkg/brew/libpng/) - Runtime dependency declared by Homebrew.
- [gocr](https://www.automicvault.com/fr/pkg/brew/gocr/) - Shares av.db curated category or tags: cli, image-processing, media, ocr, text-recognition.
- [tesseract](https://www.automicvault.com/fr/pkg/brew/tesseract/) - Shares av.db curated category or tags: cli, image-processing, media, ocr, text-recognition.
- [ssocr](https://www.automicvault.com/fr/pkg/brew/ssocr/) - Shares av.db curated category or tags: cli, image-processing, media, ocr.
- [ocrmypdf](https://www.automicvault.com/fr/pkg/brew/ocrmypdf/) - Shares av.db curated category or tags: cli, media, ocr.
- [babl](https://www.automicvault.com/fr/pkg/brew/babl/) - Shares av.db curated category or tags: cli, image-processing, media.
- [caire](https://www.automicvault.com/fr/pkg/brew/caire/) - Shares av.db curated category or tags: cli, image-processing, media.
- [camellia](https://www.automicvault.com/fr/pkg/brew/camellia/) - Shares av.db curated category or tags: cli, image-processing, media.
- [ctl](https://www.automicvault.com/fr/pkg/brew/ctl/) - Shares av.db curated category or tags: cli, image-processing, media.

## Combined YAML source

View the package source record on GitHub. [combined/ocrad.yml](https://github.com/automic-vault/db/blob/main/combined/ocrad.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
