# Install tesseract with Homebrew, chocolatey, apt, dnf, MacPorts, Nix, pacman, scoop, winget, zypper

OCR (Optical Character Recognition) engine. Version 5.5.2 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:tesseract
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tesseract
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tesseract
```

  Evidence: MacPorts ports tree: textproc/tesseract/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install libtesseract-dev
```

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

- dnf (92%):

```sh
sudo dnf install mingw32-tesseract
```

  Evidence: Fedora Rawhide package metadata: mingw32-tesseract 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#tesseract
```

  Evidence: nixpkgs package indexes: tesseract from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S tesseract
```

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

- zypper (92%):

```sh
sudo zypper install tesseract
```

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

### Windows

- Chocolatey (92%):

```sh
choco install tesseract
```

  Evidence: Chocolatey community package catalog: tesseract from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','telegram.install'

- Scoop (92%):

```sh
scoop install main/tesseract
```

  Evidence: Scoop official bucket manifest trees: bucket/tesseract.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Tesseract.Tesseract.Stable -e
```

  Evidence: Windows Package Manager source index: Tesseract.Tesseract.Stable from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:tesseract
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/tesseract>
- **Version:** 5.5.2
- **Source summary:** OCR (Optical Character Recognition) engine
- **Homepage:** <https://tesseract-ocr.github.io/>
- **Repository:** <https://github.com/tesseract-ocr/tesseract>
- **Upstream docs:** <https://tesseract-ocr.github.io/tessdoc>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/tesseract-ocr/tesseract/archive/refs/tags/5.5.2.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ambiguous_words (cli)
- classifier_tester (cli)
- cntraining (cli)
- combine_lang_model (cli)
- combine_tessdata (cli)
- dawg2wordlist (cli)
- lstmeval (cli)
- lstmtraining (cli)
- merge_unicharsets (cli)
- mftraining (cli)
- set_unicharset_properties (cli)
- shapeclustering (cli)
- tesseract (cli)
- text2image (cli)
- unicharset_extractor (cli)
- wordlist2dawg (cli)
- ambiguous_words (alias)
- classifier_tester (alias)
- cntraining (alias)
- combine_lang_model (alias)
- combine_tessdata (alias)
- dawg2wordlist (alias)
- lstmeval (alias)
- lstmtraining (alias)
- merge_unicharsets (alias)
- mftraining (alias)
- set_unicharset_properties (alias)
- shapeclustering (alias)
- tesseract (alias)
- text2image (alias)
- unicharset_extractor (alias)
- wordlist2dawg (alias)

## Dependencies

- cairo
- fontconfig
- freetype
- gettext
- glib
- harfbuzz
- icu4c@78
- leptonica
- libarchive
- pango

## Build dependencies

- autoconf
- automake
- libtool
- pkgconf

## Install behavior

- Post-install hook: not defined
- Caveats: This formula contains only the "eng", "osd", and "snum" language data files. If you need any other supported languages, run `brew install tesseract-lang`.
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 5.5.2
- Local data: ok
- Upstream repository: https://github.com/tesseract-ocr/tesseract
- Upstream latest detected: 5.5.2 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

Tesseract is one of the canonical open-source OCR engines and includes both libtesseract and the `tesseract` command-line program. Official docs describe an Apache-licensed OCR engine usable from the shell or through C and C++ APIs, with Unicode support, trained data for more than 100 languages, and output formats including plain text, hOCR, searchable PDF, TSV, ALTO, and PAGE.

### Project history

Tesseract began as a Hewlett-Packard OCR engine developed at HP Laboratories Bristol and HP Greeley between 1985 and 1994. HP later made Windows and C++ changes, open-sourced the project in 2005, and Google developed it from 2006 until August 2017.

The modern project is maintained in the tesseract-ocr GitHub organization. The official README names Stefan Weil as current lead developer, Ray Smith as lead developer until 2017, and Zdenko Podobny as maintainer. Tesseract 4 introduced an LSTM neural-network recognizer, and version 5 became the current stable major line with release 5.0.0 on November 30, 2021.

### Adoption history

Tesseract's adoption is unusually broad for a CLI package because it sits at the boundary between desktop utilities, archival workflows, library APIs, and machine-learning-era OCR. Package metadata lists it across Homebrew, Chocolatey, Debian, Fedora, MacPorts, Nix, Arch, Scoop, Ubuntu, winget, and openSUSE, reflecting long-term cross-platform demand.

### How it is used

The classic package-manager usage is `tesseract imagename outputbase`, optionally adding language, OCR engine mode, page segmentation mode, and config files. Users install language data, run OCR from shell scripts, generate text or searchable PDFs, and let higher-level wrappers call libtesseract where an application needs embedded OCR.

### Why package nerds care

Tesseract is a package-nerd landmark because installing it correctly is often half the battle: the engine, traineddata files, image libraries, compiler flags, and wrapper bindings must line up. It is also a rare package where command-line users, distro maintainers, data archivists, and application developers all care about the same executable.

### Timeline

- 1985-1994: Hewlett-Packard develops the original Tesseract OCR engine.
- 2005: HP open-sources Tesseract.
- 2006: Official release notes list Tesseract 1.00 on June 17, 2006.
- 2006-2017: Google develops Tesseract.
- 2018: Tesseract 4.0.0 released with the LSTM-era OCR engine.
- 2021: Tesseract 5.0.0 released on November 30, 2021.
- 2025: Release notes list Tesseract 5.5.2 on December 26, 2025.

### Related projects

- Tesseract is closely related to tessdata trained models, Leptonica image processing, OCRopus LSTM history, GUI front ends, language-specific wrappers, and document-processing tools that need OCR output.

### Sources

- <https://github.com/tesseract-ocr/tesseract official README history, maintainers, supported languages, formats, and command-line form.>
- <https://tesseract-ocr.github.io/tessdoc/ official user manual and 5.x documentation.>
- <https://tesseract-ocr.github.io/tessdoc/ReleaseNotes.html official release chronology.>
- <https://tesseract-ocr.github.io/tessdoc/tess4/NeuralNetsInTesseract4.00.html official LSTM subsystem overview.>
- source_facts.package-manager lists broad package-manager coverage.


## Security Notes

broad file, network, media, or database tool signal. infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- broad file, network, media, or database tool signal
- infrastructure mutation or orchestration signal

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - libtesseract-dev - 5.5.0-1+b1: normalized package name match | Debian stable package indexes: libtesseract-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for the tesseract command line OCR tool | https://github.com/tesseract-ocr/
- Debian apt - libtesseract5 - 5.5.0-1+b1: normalized package name match | Debian stable package indexes: libtesseract5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tesseract OCR library | https://github.com/tesseract-ocr/
- Debian apt - tesseract-ocr - 5.5.0-1+b1: normalized package name match | Debian stable package indexes: tesseract-ocr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tesseract command line OCR tool | https://github.com/tesseract-ocr/
- Debian apt - tesseract-ocr-all - 5.5.0-1: normalized package name match | Debian stable package indexes: tesseract-ocr-all from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tesseract OCR with all language and script packages | https://github.com/tesseract-ocr/
- Nix - tesseract: normalized package name match | nixpkgs package indexes: tesseract from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - libtesseract-dev - 5.3.4-1build5: normalized package name match | Ubuntu 24.04 LTS package indexes: libtesseract-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development files for the tesseract command line OCR tool | https://github.com/tesseract-ocr/
- Ubuntu apt - libtesseract5 - 5.3.4-1build5: normalized package name match | Ubuntu 24.04 LTS package indexes: libtesseract5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tesseract OCR library | https://github.com/tesseract-ocr/
- Ubuntu apt - tesseract-ocr - 5.3.4-1build5: normalized package name match | Ubuntu 24.04 LTS package indexes: tesseract-ocr from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tesseract command line OCR tool | https://github.com/tesseract-ocr/
- Ubuntu apt - tesseract-ocr-all - 5.3.4-1build5: normalized package name match | Ubuntu 24.04 LTS package indexes: tesseract-ocr-all from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tesseract OCR with all language and script packages | https://github.com/tesseract-ocr/
- dnf - mingw32-tesseract - 5.5.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: mingw32-tesseract from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | MinGW Windows tesseract-ocr library | https://github.com/tesseract-ocr/tesseract
- dnf - mingw32-tesseract-tools - 5.5.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: mingw32-tesseract-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | MinGW Windows tesseract-ocr library tools | https://github.com/tesseract-ocr/tesseract
- dnf - mingw64-tesseract - 5.5.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: mingw64-tesseract from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | MinGW Windows tesseract-ocr library | https://github.com/tesseract-ocr/tesseract
- dnf - mingw64-tesseract-tools - 5.5.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: mingw64-tesseract-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | MinGW Windows tesseract-ocr library tools | https://github.com/tesseract-ocr/tesseract
- dnf - tesseract - 5.5.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: tesseract from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Raw OCR Engine | https://github.com/tesseract-ocr/tesseract
- dnf - tesseract-common - 5.5.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: tesseract-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Configuration files for ${name} | https://github.com/tesseract-ocr/tesseract
- dnf - tesseract-devel - 5.5.2-3.fc45: normalized package name match | Fedora Rawhide package metadata: tesseract-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Development files for tesseract | https://github.com/tesseract-ocr/tesseract


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [cairo](https://www.automicvault.com/pkg/brew/cairo/) - Runtime dependency declared by Homebrew.
- [fontconfig](https://www.automicvault.com/pkg/brew/fontconfig/) - Runtime dependency declared by Homebrew.
- [freetype](https://www.automicvault.com/pkg/brew/freetype/) - Runtime dependency declared by Homebrew.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [glib](https://www.automicvault.com/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [harfbuzz](https://www.automicvault.com/pkg/brew/harfbuzz/) - Runtime dependency declared by Homebrew.
- [leptonica](https://www.automicvault.com/pkg/brew/leptonica/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [ffmpeg-full](https://www.automicvault.com/pkg/brew/ffmpeg-full/) - Popular package that depends on this formula.
- [ffmpeg@4](https://www.automicvault.com/pkg/brew/ffmpeg-4/) - Popular package that depends on this formula.
- [ghostscript](https://www.automicvault.com/pkg/brew/ghostscript/) - Popular package that depends on this formula.
- [mupdf](https://www.automicvault.com/pkg/brew/mupdf/) - Popular package that depends on this formula.
- [ocrmypdf](https://www.automicvault.com/pkg/brew/ocrmypdf/) - Popular package that depends on this formula.
- [gocr](https://www.automicvault.com/pkg/brew/gocr/) - Shares av.db curated category or tags: cli, image-processing, media, ocr, text-recognition.
- [ocrad](https://www.automicvault.com/pkg/brew/ocrad/) - Shares av.db curated category or tags: cli, image-processing, media, ocr, text-recognition.
- [ssocr](https://www.automicvault.com/pkg/brew/ssocr/) - Shares av.db curated category or tags: cli, image-processing, media, ocr.
- [babl](https://www.automicvault.com/pkg/brew/babl/) - Shares av.db curated category or tags: cli, image-processing, media.
- [caire](https://www.automicvault.com/pkg/brew/caire/) - Shares av.db curated category or tags: cli, image-processing, media.
- [camellia](https://www.automicvault.com/pkg/brew/camellia/) - Shares av.db curated category or tags: cli, image-processing, media.
- [ctl](https://www.automicvault.com/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/tesseract.yml](https://github.com/automic-vault/db/blob/main/combined/tesseract.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
