Automic VaultAutomic Vault

brew

Install gocr with Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper

Optical Character Recognition (OCR), converts images back to text. Version 0.52 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gocr

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install gocr

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

Linux

Debian aptverified · 92%
sudo apt install gocr

Debian stable package indexes · gocr · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install gocr

Fedora Rawhide package metadata · gocr · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#gocr

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

Arch Linux pacmanverified · 92%
sudo pacman -S gocr

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

openSUSE zypperverified · 92%
sudo zypper install gocr

openSUSE Tumbleweed package metadata · gocr · source: download.opensuse.org

overview

Package summary

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

Commands and aliases

  • gocr
  • gocr.tcl

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:image

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 13 platform targets.
  • Installs with 2 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
gocrcliglobal executable
gocr.tclcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.52
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

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

install metadata

Package metadata

Package keybrew:gocr
Version0.52
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gocr
Homepagehttps://wasd.urz.uni-magdeburg.de/jschulen/ocr/
Repositoryhttps://sourceforge.net/p/jocr/code
Upstream docshttps://jocr.sourceforge.net/
LicenseGPL-2.0-or-later
Source archivehttps://wasd.urz.uni-magdeburg.de/jschulen/ocr/gocr-0.52.tar.gz
Last updated2026-06-22T19:58:33+02:00
Pulseupdated
Dependenciesjpeg-turbo, netpbm
Bottleavailable (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-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

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 dependencies
  • 4 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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 dependencies
  • 4 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: 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 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: 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 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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