ubuntuaptleptonica

apt install libleptonica-dev fails


Im trying to use Tesseract-OCR for in a program and am having issues installing. Following the instructions on here

When I try the command

sudo apt-get install libleptonica-dev

I get

ubuntu@ubuntu:~/tesseract$ sudo apt install libleptonica-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libleptonica-dev

Does it no longer exist or is it under a different name?


Solution

  • Have you updated your package cache with sudo apt update?

    Also, look into https://github.com/tesseract-ocr/tesseract/issues/1025.