Ubuntu : Unable to locate package libleptonica-dev

148 views
Skip to first unread message

polki paul

unread,
Apr 1, 2022, 1:37:37 AM4/1/22
to tesseract-ocr
Hello,

how to install libleptonica-dev on Ubuntu 20.04 ?

sudo apt-get update
sudo apt-get install libleptonica-dev

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libleptonica-dev

Thanks

Shree Devi Kumar

unread,
Apr 1, 2022, 2:19:27 AM4/1/22
to tesseract-ocr

--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/db64652a-3ded-496e-96f2-0ea4c818b0ebn%40googlegroups.com.

Shree Devi Kumar

unread,
Apr 1, 2022, 2:23:20 AM4/1/22
to tesseract-ocr
From 

Note for Ubuntu users: In case apt is unable to find the package try adding universe entry to the sources.list file as shown below.

sudo vi /etc/apt/sources.list

Copy the first line "deb http://archive.ubuntu.com/ubuntu bionic main" and paste it as shown below on the next line.
If you are using a different release of ubuntu, then replace bionic with the respective release name.

deb http://archive.ubuntu.com/ubuntu bionic universe
Message has been deleted

polki paul

unread,
Apr 1, 2022, 7:44:57 AM4/1/22
to tesseract-ocr
Thanks, it work.

sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install libleptonica-dev


Reply all
Reply to author
Forward
0 new messages