Install Tesseract OCR libs from sources in Centos

1. Download Leptonica and Teseract sources:


2. Configure, compile, install libs:

tar xzvf leptonica-1.69.tar.gz
cd leptonica-1.69
$ ./configure
sudo make install
tar xzf tesseract-ocr-3.02.02.tar.gz
cd tesseract-3.01
$ ./
$ ./configure
sudo make install
sudo ldconfig

3. Download languages (english) and copy to tessdata folder:

tar xzf tesseract-ocr-3.02.eng.tar.gz
$ sudo cp tesseract-ocr/tessdata/* /usr/local/share/tessdata
  • 459 Users Found This Useful
Was this answer helpful?

Related Articles

Increase /tmp partition size in cPanel and secure it

Resize /tmp partition size in cPanel and secure it This is only applicable to our dedicated...

Basic SSH commands linux

The list below is not meant to be a complete SSH guide, but more so a list of some of the basic...

Install node.js on Cpanel Server

Installing Node.js Using the steps below you should be able to quickly install Node.js on your...

CPU Analysis

Choosing the right server is the most important part of running an eCommerce store. And the two...

How to Import Large MySQL Data Files- do not bother with Big Dump!

Importing SQL dumps into MySQL through Command line   A quick way to duplicate MySQL...