macOS
brew install gocrlocal Homebrew formula metadata
sudo port install gocrMacPorts ports tree · graphics/gocr/Portfile · 来源: api.github.com
安装
brew install gocrlocal Homebrew formula metadata
sudo port install gocrMacPorts ports tree · graphics/gocr/Portfile · 来源: api.github.com
sudo dnf install gocrFedora Rawhide package metadata · gocr · 来源: dl.fedoraproject.org
nix profile install nixpkgs#gocrnixpkgs package indexes · pkgs/by-name/go/gocr/package.nix · 来源: api.github.com
sudo pacman -S gocrArch Linux sync databases · gocr · 来源: geo.mirror.pkgbuild.com
sudo zypper install gocropenSUSE Tumbleweed package metadata · gocr · 来源: download.opensuse.org
概览
Optical Character Recognition (OCR), converts images back to text
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gocr | cli | 全局可执行文件 | |
gocr.tcl | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
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 |
| Pulse | updated |
| 依赖 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gocr |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 2 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
gocr 0.52-6.1+b1
Command line OCR
https://www-e.uni-magdeburg.de/jschulen/ocr/
sudo apt install gocrgocr-tk 0.52-6.1
tcl/tk wrapper around gocr
https://www-e.uni-magdeburg.de/jschulen/ocr/
sudo apt install gocr-tklibpgm2asc-dev 0.52-6.1+b1
Command line OCR - development files
https://www-e.uni-magdeburg.de/jschulen/ocr/
sudo apt install libpgm2asc-devlibpgm2asc0.52t64 0.52-6.1+b1
Command line OCR - shared library
https://www-e.uni-magdeburg.de/jschulen/ocr/
sudo apt install libpgm2asc0.52t64gocr
nix profile install nixpkgs#gocrgocr 0.52-6.1build1
Command line OCR
https://www-e.uni-magdeburg.de/jschulen/ocr/
sudo apt install gocrgocr-tk 0.52-6.1build1
tcl/tk wrapper around gocr
https://www-e.uni-magdeburg.de/jschulen/ocr/
sudo apt install gocr-tklibpgm2asc-dev 0.52-6.1build1
Command line OCR - development files
https://www-e.uni-magdeburg.de/jschulen/ocr/
sudo apt install libpgm2asc-devlibpgm2asc0.52t64 0.52-6.1build1
Command line OCR - shared library
https://www-e.uni-magdeburg.de/jschulen/ocr/
sudo apt install libpgm2asc0.52t64gocr 0.52-18.fc44
GNU Optical Character Recognition program
sudo dnf install gocrgocr 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 gocrgocr 0.52-3.10
Optical Character Recognition Program
https://www-e.uni-magdeburg.de/jschulen/ocr/index.html
sudo zypper install gocrgocr-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-guigocr
sudo port install gocr来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.