Install dependency
#tar -jxzf leptonica-1.69.tar.bz2
#cd leptonica-1.69
#./configure
#make -j4
#sudo make install
--------------------------
download tesseract-ocr-3.02.02.tar.gz
#tar -xzf tesseract-ocr-3.02.02.tar.gz
#cd tesseract-ocr
download language packags and unpack it to tessdata dir (Note: mv all files in unpack dir to tessdata dir)
#./autogen.sh
#./configure
#make
#make install
#sudo ldconfig
3.set env
vi ~/.bashrc
export TESSDATA_PREFIX=/path/to/tesseract-ocr
source ~/.bashrc
4. test
#tesseract menu.jpeg out2 -l chi_sim
Preferences
https://code.google.com/p/tesseract-ocr/