Automic VaultAutomic Vault

brew

使用 Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper 安装 gocr

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gocr

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install gocr

MacPorts ports tree · graphics/gocr/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install gocr

Debian stable package indexes · gocr · 来源: deb.debian.org

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

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

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

nixpkgs package indexes · pkgs/by-name/go/gocr/package.nix · 来源: api.github.com

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

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

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

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

概览

软件包摘要

Optical Character Recognition (OCR), converts images back to text

命令和别名

  • gocr
  • gocr.tcl

历史

项目历史与用法

GOCR, also known as JOCR on SourceForge, is a command-line optical character recognition program by Joerg Schulenburg. It converts scanned image files back into text and represents an older Unix-style OCR tool that stayed useful enough to remain packaged across many systems.

项目历史

The official GOCR page says Schulenburg started the program, led the SourceForge developer team, and continued maintaining the package at a low time base after 2010. The site explains the dual naming: the program's original and internal name is GOCR, while the SourceForge project used JOCR because the gocr project name was unavailable there.

The SourceForge-era history is visible in the official news stream: 0.3.0 appeared in December 2000, libgocr was made publicly available in April 2001, 0.37 arrived in August 2002, and the 0.40 through 0.49 series carried the project through the 2005 to 2010 period. Later releases 0.50, 0.51, and 0.52 were announced from the maintainer site rather than always being uploaded to SourceForge.

采用历史

GOCR's adoption pattern is classic pre-GitHub free software: SourceForge hosting, CVS development, tarball releases, mailing-list support, and downstream packaging. The official download page mentions RPMs, Debian packages, Windows binaries, OS/2 packages, and SourceForge source tarballs.

The batch package metadata lists GOCR in Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE package sets. That broad downstream footprint matters more than upstream velocity: OCR users and scanning frontends kept relying on a small C command-line engine that packagers could build and ship.

使用方式

GOCR is used from the command line to read supported image formats and emit text. The official page notes that it can be used with different frontends and can open many image formats, with additional formats handled through external tools such as NetPBM.

The project is best understood as a lightweight OCR engine and utility for scanned text, not a modern machine-learning OCR stack. It is most useful where scriptability, old-format support, and small dependency surfaces matter.

为什么软件包爱好者会关心

Package nerds care about GOCR because it is a living fossil of early SourceForge packaging culture: CVS, tarballs, distro patches, optional graphical frontends, and long-lived formulae. It shows how a quiet C utility can survive for decades because it is easy for distributions to keep carrying.

Its GOCR/JOCR naming split is also a small lesson in package identity: upstream command names, project-hosting names, tarball names, and distro package names do not always line up cleanly.

时间线

  • 2000-06: SourceForge hosting began for the JOCR project, according to the official page.
  • 2000-12: GOCR 0.3.0 announced.
  • 2001-04: libgocr public beta announced.
  • 2005-03: GOCR 0.40 released.
  • 2010-09: GOCR 0.49 released.
  • 2013-03: GOCR 0.50 released.
  • 2017-08: GOCR 0.51 released.
  • 2018-10: GOCR 0.52 released.

Related projects

  • libgocr was the related API/library effort documented on the official site.
  • NetPBM is an important companion dependency for broader image-format handling.
  • Kooka, XSane, and other scanning frontends are adjacent tools that historically used command-line OCR engines.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:image

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 13 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gocrcli全局可执行文件
gocr.tclcli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-07-10
管理器版本0.52
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://wasd.urz.uni-magdeburg.de/jschulen/ocr/

安装元数据

软件包元数据

软件包键brew:gocr
版本0.52
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/gocr
主页https://wasd.urz.uni-magdeburg.de/jschulen/ocr/
仓库https://sourceforge.net/p/jocr/code
上游文档https://jocr.sourceforge.net/
许可证GPL-2.0-or-later
源码归档https://wasd.urz.uni-magdeburg.de/jschulen/ocr/gocr-0.52.tar.gz
最后更新2026-06-22T19:58:33+02:00
Pulseupdated
依赖jpeg-turbo, netpbm
Bottle可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegocr
Aliases
  • jocr
Version Scheme0
Revision2
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

gocr 0.52-6.1+b1

Command line OCR

https://www-e.uni-magdeburg.de/jschulen/ocr/

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

gocr-tk 0.52-6.1

tcl/tk wrapper around gocr

https://www-e.uni-magdeburg.de/jschulen/ocr/

sudo apt install gocr-tk
  • Section: graphics
  • Architecture: all
  • Source Package: gocr
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Gocr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gocr-tk from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libpgm2asc-dev 0.52-6.1+b1

Command line OCR - development files

https://www-e.uni-magdeburg.de/jschulen/ocr/

sudo apt install libpgm2asc-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: gocr
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gocr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpgm2asc-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libpgm2asc0.52t64 0.52-6.1+b1

Command line OCR - shared library

https://www-e.uni-magdeburg.de/jschulen/ocr/

sudo apt install libpgm2asc0.52t64
  • Section: libs
  • Architecture: amd64
  • Source Package: gocr
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gocr
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpgm2asc0.52t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gocr

nix profile install nixpkgs#gocr
  • normalized package name match
  • 匹配方式:Gocr
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/go/gocr/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gocr 0.52-6.1build1

Command line OCR

https://www-e.uni-magdeburg.de/jschulen/ocr/

sudo apt install gocr
  • Section: universe/graphics
  • Architecture: amd64
  • 1 依赖
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Gocr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gocr from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gocr-tk 0.52-6.1build1

tcl/tk wrapper around gocr

https://www-e.uni-magdeburg.de/jschulen/ocr/

sudo apt install gocr-tk
  • Section: universe/graphics
  • Architecture: all
  • Source Package: gocr
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Gocr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gocr-tk from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libpgm2asc-dev 0.52-6.1build1

Command line OCR - development files

https://www-e.uni-magdeburg.de/jschulen/ocr/

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

libpgm2asc0.52t64 0.52-6.1build1

Command line OCR - shared library

https://www-e.uni-magdeburg.de/jschulen/ocr/

sudo apt install libpgm2asc0.52t64
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: gocr
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gocr
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpgm2asc0.52t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

gocr 0.52-18.fc44

GNU Optical Character Recognition program

http://jocr.sourceforge.net/

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

gocr 0.52-3

OCR (Optical Character Recognition) program, which converts scanned images of text back to text files

https://www-e.uni-magdeburg.de/jschulen/ocr/

sudo pacman -S gocr
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • 3 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Gocr
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gocr from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

gocr 0.52-3.10

Optical Character Recognition Program

https://www-e.uni-magdeburg.de/jschulen/ocr/index.html

sudo zypper install gocr
  • License: GPL-2.0-or-later
  • Category: Productivity/Graphics/Other
  • Architecture: x86_64
  • Source Package: gocr
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gocr
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gocr from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

gocr-gui 0.52-3.10

Optical Character Recognition Program - Basic Graphical Interface

https://www-e.uni-magdeburg.de/jschulen/ocr/index.html

sudo zypper install gocr-gui
  • License: GPL-2.0-or-later
  • Category: Productivity/Graphics/Other
  • Architecture: noarch
  • Source Package: gocr
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Gocr
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gocr-gui from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

gocr

sudo port install gocr
  • normalized package name match
  • 匹配方式:Gocr
MacPorts ports tree · api.github.com · MacPorts ports tree: graphics/gocr/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 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