Automic VaultAutomic Vault

brew

使用 Homebrew, chocolatey, dnf, MacPorts, Nix, pacman, zypper, apt, scoop, winget 安装 tesseract

查看 tesseract 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install tesseract

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install tesseract

MacPorts ports tree · textproc/tesseract/Portfile · 来源: api.github.com

Linux

Fedora dnf已验证 · 92%
sudo dnf install tesseract

Fedora Rawhide package metadata · tesseract · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#tesseract

nixpkgs package indexes · tesseract · 来源: raw.githubusercontent.com

Arch Linux pacman已验证 · 92%
sudo pacman -S tesseract

Arch Linux sync databases · tesseract · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install tesseract

openSUSE Tumbleweed package metadata · tesseract · 来源: download.opensuse.org

Debian apt已验证 · 92%
sudo apt install libtesseract-dev

Debian stable package indexes · libtesseract-dev · 来源: deb.debian.org

Windows

Chocolatey已验证 · 92%
choco install tesseract

Chocolatey community package catalog · tesseract · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/tesseract

Scoop official bucket manifest trees · bucket/tesseract.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Tesseract.Tesseract.Stable -e

Windows Package Manager source index · Tesseract.Tesseract.Stable · 来源: cdn.winget.microsoft.com

概览

软件包摘要

OCR (Optical Character Recognition) engine

命令和别名

  • ambiguous_words
  • classifier_tester
  • cntraining
  • combine_lang_model
  • combine_tessdata
  • dawg2wordlist
  • lstmeval
  • lstmtraining
  • merge_unicharsets
  • mftraining
  • set_unicharset_properties
  • shapeclustering
  • tesseract
  • text2image
  • unicharset_extractor
  • wordlist2dawg

历史

项目历史与用法

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.

时间线

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

安全态势

风险级别:orange

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

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

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

信号

  • text:cluster
  • text:image

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 10 个运行时依赖。
  • 构建元数据列出 4 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
ambiguous_wordscli全局可执行文件
classifier_testercli全局可执行文件
cntrainingcli全局可执行文件
combine_lang_modelcli全局可执行文件
combine_tessdatacli全局可执行文件
dawg2wordlistcli全局可执行文件
lstmevalcli全局可执行文件
lstmtrainingcli全局可执行文件
merge_unicharsetscli全局可执行文件
mftrainingcli全局可执行文件
set_unicharset_propertiescli全局可执行文件
shapeclusteringcli全局可执行文件
tesseractcli全局可执行文件
text2imagecli全局可执行文件
unicharset_extractorcli全局可执行文件
wordlist2dawgcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本5.5.2
管理器更新时间
本地数据OK
上游当前
检测到的最新版本5.5.2

https://github.com/tesseract-ocr/tesseract

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:tesseract
版本5.5.2
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/tesseract
主页https://tesseract-ocr.github.io/
仓库https://github.com/tesseract-ocr/tesseract
上游文档https://tesseract-ocr.github.io/tessdoc
许可证Apache-2.0
源码归档https://github.com/tesseract-ocr/tesseract/archive/refs/tags/5.5.2.tar.gz
依赖cairo, fontconfig, freetype, gettext, glib, harfbuzz, icu4c@78, leptonica, libarchive, pango
构建依赖autoconf, automake, libtool, pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项This formula contains only the "eng", "osd", and "snum" language data files. If you need any other supported languages, run `brew install tesseract-lang`.

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

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-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: tesseract
  • 5 依赖
  • normalized package name match
  • 匹配方式:Tesseract
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libtesseract-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libtesseract5 5.5.0-1+b1

Tesseract OCR library

https://github.com/tesseract-ocr/

sudo apt install libtesseract5
  • Section: libs
  • Architecture: amd64
  • Source Package: tesseract
  • 7 依赖
  • normalized package name match
  • 匹配方式:Tesseract
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libtesseract5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

tesseract-ocr 5.5.0-1+b1

Tesseract command line OCR tool

https://github.com/tesseract-ocr/

sudo apt install tesseract-ocr
  • Section: graphics
  • Architecture: amd64
  • Source Package: tesseract
  • 16 依赖
  • normalized package name match
  • 匹配方式:Tesseract
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tesseract-ocr from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

tesseract-ocr-all 5.5.0-1

Tesseract OCR with all language and script packages

https://github.com/tesseract-ocr/

sudo apt install tesseract-ocr-all
  • Section: graphics
  • Architecture: all
  • Source Package: tesseract
  • 32 依赖
  • normalized package name match
  • 匹配方式:Tesseract
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tesseract-ocr-all from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

tesseract

nix profile install nixpkgs#tesseract
  • normalized package name match
  • 匹配方式:Tesseract
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: tesseract from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

libtesseract-dev 5.3.4-1build5

Development files for the tesseract command line OCR tool

https://github.com/tesseract-ocr/

sudo apt install libtesseract-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: tesseract
  • 5 依赖
  • normalized package name match
  • 匹配方式:Tesseract
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtesseract-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libtesseract5 5.3.4-1build5

Tesseract OCR library

https://github.com/tesseract-ocr/

sudo apt install libtesseract5
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: tesseract
  • 7 依赖
  • normalized package name match
  • 匹配方式:Tesseract
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libtesseract5 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

tesseract-ocr 5.3.4-1build5

Tesseract command line OCR tool

https://github.com/tesseract-ocr/

sudo apt install tesseract-ocr
  • Section: universe/graphics
  • Architecture: amd64
  • Source Package: tesseract
  • 16 依赖
  • normalized package name match
  • 匹配方式:Tesseract
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tesseract-ocr from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

tesseract-ocr-all 5.3.4-1build5

Tesseract OCR with all language and script packages

https://github.com/tesseract-ocr/

sudo apt install tesseract-ocr-all
  • Section: universe/graphics
  • Architecture: all
  • Source Package: tesseract
  • 32 依赖
  • normalized package name match
  • 匹配方式:Tesseract
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tesseract-ocr-all from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

mingw32-tesseract 5.5.2-3.fc45

MinGW Windows tesseract-ocr library

https://github.com/tesseract-ocr/tesseract

sudo dnf install mingw32-tesseract
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: tesseract
  • 4 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Tesseract
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
dnf95%

mingw32-tesseract-tools 5.5.2-3.fc45

MinGW Windows tesseract-ocr library tools

https://github.com/tesseract-ocr/tesseract

sudo dnf install mingw32-tesseract-tools
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: tesseract
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tesseract
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
dnf95%

mingw64-tesseract 5.5.2-3.fc45

MinGW Windows tesseract-ocr library

https://github.com/tesseract-ocr/tesseract

sudo dnf install mingw64-tesseract
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: tesseract
  • 4 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Tesseract
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
dnf95%

mingw64-tesseract-tools 5.5.2-3.fc45

MinGW Windows tesseract-ocr library tools

https://github.com/tesseract-ocr/tesseract

sudo dnf install mingw64-tesseract-tools
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: tesseract
  • 4 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tesseract
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
dnf95%

tesseract 5.5.2-3.fc45

Raw OCR Engine

https://github.com/tesseract-ocr/tesseract

sudo dnf install tesseract
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: tesseract
  • 9 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tesseract
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: tesseract from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

tesseract-common 5.5.2-3.fc45

Configuration files for ${name}

https://github.com/tesseract-ocr/tesseract

sudo dnf install tesseract-common
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: tesseract
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Tesseract
Fedora Rawhide package metadata · dl.fedoraproject.org · 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
dnf95%

tesseract-devel 5.5.2-3.fc45

Development files for tesseract

https://github.com/tesseract-ocr/tesseract

sudo dnf install tesseract-devel
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: i686
  • Source Package: tesseract
  • 5 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Tesseract
Fedora Rawhide package metadata · dl.fedoraproject.org · 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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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