macOS
brew install gocrlocal Homebrew formula metadata
sudo port install gocrMacPorts ports tree · graphics/gocr/Portfile · source: api.github.com
brew
Optical Character Recognition (OCR), converts images back to text. Version 0.52 via Homebrew; verified 2026-06-22.
install
brew install gocrlocal Homebrew formula metadata
sudo port install gocrMacPorts ports tree · graphics/gocr/Portfile · source: api.github.com
sudo apt install gocrDebian stable package indexes · gocr · source: deb.debian.org
sudo dnf install gocrFedora Rawhide package metadata · gocr · source: dl.fedoraproject.org
nix profile install nixpkgs#gocrnixpkgs package indexes · pkgs/by-name/go/gocr/package.nix · source: api.github.com
sudo pacman -S gocrArch Linux sync databases · gocr · source: geo.mirror.pkgbuild.com
sudo zypper install gocropenSUSE Tumbleweed package metadata · gocr · source: download.opensuse.org
overview
Optical Character Recognition (OCR), converts images back to text
history
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.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
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 |
|---|---|---|---|
gocr | cli | global executable | |
gocr.tcl | 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://wasd.urz.uni-magdeburg.de/jschulen/ocr/
install metadata
| Package key | brew:gocr |
|---|---|
| Version | 0.52 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gocr |
| Homepage | https://wasd.urz.uni-magdeburg.de/jschulen/ocr/ |
| Repository | https://sourceforge.net/p/jocr/code |
| Upstream docs | https://jocr.sourceforge.net/ |
| License | GPL-2.0-or-later |
| Source archive | https://wasd.urz.uni-magdeburg.de/jschulen/ocr/gocr-0.52.tar.gz |
| Last updated | 2026-06-22T19:58:33+02:00 |
| Pulse | updated |
| Dependencies | jpeg-turbo, netpbm |
| Bottle | available (on 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 | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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 gocrsource 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.