Die Software tesseract können Sie mit wenig Aufwand aus dem Quellcode übersetzen. Melden Sie sich dazu via SSH an und führen Sie aus:
wget http://www.leptonica.org/source/leptonica-1.87.0.tar.gz && tar xpzvf leptonica-1.87.0.tar.gz cd leptonica-1.87.0 ./autogen.sh ./configure --prefix=$HOME/.local/ && make && make install
Die Software leptonica ist eine Voraussetzung für die weitere Installation:
cd ~ && git clone --depth 1 https://github.com/tesseract-ocr/tesseract.git && cd tesseract ./autogen.sh ./configure --prefix=$HOME/.local/ export PKG_CONFIG_PATH=$HOME/local/lib/pkgconfig LIBLEPT_HEADERSDIR=$HOME/.local/include ./configure --prefix=$HOME/.local/ --with-extra-libraries=$HOME/.local/lib make
Danach müssen die Programme nur noch zur $PATH Variable hinzugefügt werden:
vim .profile vim .bashrc
Nach einem erneuten SSH Login, sind die Programme dann nutzbar:
ls local/bin/ convertfilestopdf convertfilestops convertformat convertsegfilestopdf convertsegfilestops converttopdf converttops fileinfo imagetops xtractprotos
Für PHP können Sie dann auch die $PATH Variable anpassen.