# 安装 tesseract

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tesseract
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tesseract
```

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

### Linux

- dnf (92%):

```sh
sudo dnf install tesseract
```

  证据: Fedora Rawhide package metadata: tesseract from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#tesseract
```

  证据: 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
```

  证据: 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
```

  证据: openSUSE Tumbleweed package metadata: tesseract from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install tesseract
```

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

- Scoop (92%):

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

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:tesseract
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/tesseract>
- **版本:** 5.5.2
- **来源摘要:** OCR (Optical Character Recognition) engine
- **主页:** <https://tesseract-ocr.github.io/>
- **仓库:** <https://github.com/tesseract-ocr/tesseract>
- **上游文档:** <https://tesseract-ocr.github.io/>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/tesseract-ocr/tesseract/archive/refs/tags/5.5.2.tar.gz>
- **更新:** 2026-03-20T18:56:16Z
- **生成来源:** 2026-05-26T22:45:13+00:00

## 可执行文件

- 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 (别名)
- classifier_tester (别名)
- cntraining (别名)
- combine_lang_model (别名)
- combine_tessdata (别名)
- dawg2wordlist (别名)
- lstmeval (别名)
- lstmtraining (别名)
- merge_unicharsets (别名)
- mftraining (别名)
- set_unicharset_properties (别名)
- shapeclustering (别名)
- tesseract (别名)
- text2image (别名)
- unicharset_extractor (别名)
- wordlist2dawg (别名)

## 依赖

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

## 构建依赖

- autoconf
- automake
- libtool
- pkgconf

## 安装行为

- post-install 钩子: 未定义
- 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: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 新鲜度

- 页面生成时间: 2026-05-26
- 管理器版本: 5.5.2
- 管理器更新时间: 2026-03-20
- 本地数据: ok
- 上游仓库: https://github.com/tesseract-ocr/tesseract
- 检测到的最新版本: 5.5.2 (current)

## 安全说明

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

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

## 相关链接

- [glib](https://www.automicvault.com/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [harfbuzz](https://www.automicvault.com/pkg/brew/harfbuzz/) - Runtime dependency declared by Homebrew.
- [icu4c@78](https://www.automicvault.com/pkg/brew/icu4c-78/) - Runtime dependency declared by Homebrew.
- [freetype](https://www.automicvault.com/pkg/brew/freetype/) - Runtime dependency declared by Homebrew.
- [fontconfig](https://www.automicvault.com/pkg/brew/fontconfig/) - Runtime dependency declared by Homebrew.
- [pango](https://www.automicvault.com/pkg/brew/pango/) - Runtime dependency declared by Homebrew.
- [cairo](https://www.automicvault.com/pkg/brew/cairo/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build 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.
- [ghostscript](https://www.automicvault.com/pkg/brew/ghostscript/) - Popular package that depends on this formula.
- [opencv](https://www.automicvault.com/pkg/brew/opencv/) - Popular package that depends on this formula.
- [ocrmypdf](https://www.automicvault.com/pkg/brew/ocrmypdf/) - Popular package that depends on this formula.
- [tesseract-lang](https://www.automicvault.com/pkg/brew/tesseract-lang/) - Popular package that depends on this formula.
- [ffmpeg@6](https://www.automicvault.com/pkg/brew/ffmpeg-6/) - Popular package that depends on this formula.
- [ffmpeg-full](https://www.automicvault.com/pkg/brew/ffmpeg-full/) - Popular package that depends on this formula.
- [mupdf](https://www.automicvault.com/pkg/brew/mupdf/) - Popular package that depends on this formula.
- [ffmpeg@4](https://www.automicvault.com/pkg/brew/ffmpeg-4/) - Popular package that depends on this formula.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/)

## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
