macOS
brew install gocrlocal Homebrew formula metadata
sudo port install gocrMacPorts ports tree · graphics/gocr/Portfile · source: api.github.com
brew / rank 8185
Optical Character Recognition (OCR), converts images back to text. Version 0.52 via Homebrew; verified 2026-06-22. Also installable with debian: sudo apt install gocr.
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 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 | executable | indexed executable | Discovered from the local executable index. |
gocr.tcl | executable | indexed executable | Discovered from the local executable index. |
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.
install metadata
| Package key | brew:gocr |
|---|---|
| Version | 0.52 |
| Package manager | Homebrew |
| Homepage | https://wasd.urz.uni-magdeburg.de/jschulen/ocr/ |
| Last updated | 2026-06-22T19:58:33+02:00 |
| Pulse | updated |
| Bottle | not recorded |
| Service | none declared |
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-19.fc45
GNU Optical Character Recognition program
sudo dnf install gocrgocr 0.52-3.12
Optical Character Recognition Program
https://www-e.uni-magdeburg.de/jschulen/ocr/index.html
sudo zypper install gocrgocr-gui 0.52-3.12
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.