macOS
brew install tesseractlocal Homebrew formula metadata
sudo port install tesseractMacPorts ports tree · textproc/tesseract/Portfile · source: api.github.com
brew
OCR (Optical Character Recognition) engine. Version 5.5.2 via Homebrew; verified from local package data.
install
brew install tesseractlocal Homebrew formula metadata
sudo port install tesseractMacPorts ports tree · textproc/tesseract/Portfile · source: api.github.com
sudo apt install libtesseract-devDebian stable package indexes · libtesseract-dev · source: deb.debian.org
sudo dnf install mingw32-tesseractFedora Rawhide package metadata · mingw32-tesseract · source: dl.fedoraproject.org
nix profile install nixpkgs#tesseractnixpkgs package indexes · tesseract · source: raw.githubusercontent.com
sudo pacman -S tesseractArch Linux sync databases · tesseract · source: geo.mirror.pkgbuild.com
sudo zypper install tesseractopenSUSE Tumbleweed package metadata · tesseract · source: download.opensuse.org
choco install tesseractChocolatey community package catalog · tesseract · source: community.chocolatey.org
scoop install main/tesseractScoop official bucket manifest trees · bucket/tesseract.json · source: api.github.com
winget install --id Tesseract.Tesseract.Stable -eWindows Package Manager source index · Tesseract.Tesseract.Stable · source: cdn.winget.microsoft.com
overview
OCR (Optical Character Recognition) engine
history
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.
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.
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.
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.
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.
security posture
broad file, network, media, or database tool signal. infrastructure mutation or orchestration signal.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
ambiguous_words | cli | global executable | |
classifier_tester | cli | global executable | |
cntraining | cli | global executable | |
combine_lang_model | cli | global executable | |
combine_tessdata | cli | global executable | |
dawg2wordlist | cli | global executable | |
lstmeval | cli | global executable | |
lstmtraining | cli | global executable | |
merge_unicharsets | cli | global executable | |
mftraining | cli | global executable | |
set_unicharset_properties | cli | global executable | |
shapeclustering | cli | global executable | |
tesseract | cli | global executable | |
text2image | cli | global executable | |
unicharset_extractor | cli | global executable | |
wordlist2dawg | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/tesseract-ocr/tesseract
install metadata
| Package key | brew:tesseract |
|---|---|
| Version | 5.5.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/tesseract |
| 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 |
| Dependencies | cairo, fontconfig, freetype, gettext, glib, harfbuzz, icu4c@78, leptonica, libarchive, pango |
| Build dependencies | autoconf, automake, libtool, pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| 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`. |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libtesseract-dev 5.5.0-1+b1
Development files for the tesseract command line OCR tool
https://github.com/tesseract-ocr/
sudo apt install libtesseract-devlibtesseract5 5.5.0-1+b1
Tesseract OCR library
https://github.com/tesseract-ocr/
sudo apt install libtesseract5tesseract-ocr 5.5.0-1+b1
Tesseract command line OCR tool
https://github.com/tesseract-ocr/
sudo apt install tesseract-ocrtesseract-ocr-all 5.5.0-1
Tesseract OCR with all language and script packages
https://github.com/tesseract-ocr/
sudo apt install tesseract-ocr-alltesseract
nix profile install nixpkgs#tesseractlibtesseract-dev 5.3.4-1build5
Development files for the tesseract command line OCR tool
https://github.com/tesseract-ocr/
sudo apt install libtesseract-devlibtesseract5 5.3.4-1build5
Tesseract OCR library
https://github.com/tesseract-ocr/
sudo apt install libtesseract5tesseract-ocr 5.3.4-1build5
Tesseract command line OCR tool
https://github.com/tesseract-ocr/
sudo apt install tesseract-ocrtesseract-ocr-all 5.3.4-1build5
Tesseract OCR with all language and script packages
https://github.com/tesseract-ocr/
sudo apt install tesseract-ocr-allmingw32-tesseract 5.5.2-3.fc45
MinGW Windows tesseract-ocr library
https://github.com/tesseract-ocr/tesseract
sudo dnf install mingw32-tesseractmingw32-tesseract-tools 5.5.2-3.fc45
MinGW Windows tesseract-ocr library tools
https://github.com/tesseract-ocr/tesseract
sudo dnf install mingw32-tesseract-toolsmingw64-tesseract 5.5.2-3.fc45
MinGW Windows tesseract-ocr library
https://github.com/tesseract-ocr/tesseract
sudo dnf install mingw64-tesseractmingw64-tesseract-tools 5.5.2-3.fc45
MinGW Windows tesseract-ocr library tools
https://github.com/tesseract-ocr/tesseract
sudo dnf install mingw64-tesseract-toolstesseract 5.5.2-3.fc45
Raw OCR Engine
https://github.com/tesseract-ocr/tesseract
sudo dnf install tesseracttesseract-common 5.5.2-3.fc45
Configuration files for ${name}
https://github.com/tesseract-ocr/tesseract
sudo dnf install tesseract-commontesseract-devel 5.5.2-3.fc45
Development files for tesseract
https://github.com/tesseract-ocr/tesseract
sudo dnf install tesseract-develsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.