Skip to content
Matej Plavevski edited this page Dec 11, 2017 · 17 revisions

Linux

Installation

In Order to install CCExtractor you need to have the following libraries installed: gcc,tesseract-ocr,tesseract-orc-dev,libleptonica-dev,libcurl4-gnutils-dev

You can install them using apt-get or paste this in your terminal

sudo apt-get install -y gcc
sudo apt-get install -y libcurl4-gnutls-dev
sudo apt-get install -y tesseract-ocr
sudo apt-get install -y tesseract-ocr-dev
sudo apt-get install -y libleptonica-dev

Note: On Ubuntu Version 14.04 (Trusty) and earlier, you should build leptonica and tesseract from source

Setup

There are 3 ways to set up ccextractor depending on your choice.

  1. First and easiest way is to go in the linux folder and use the build script. cd linux && ./build

  2. Standard linux compilation through Autoconf scripts. You'll need to have autoconf installed using apt-get. ./autogen.sh && ./configure && make

  3. Using Cmake. mkdir build && cd build; cmake ../src/ && make

After Installation you can now use CCExtractor. To use it call CCExtractor from the terminal by doing ./ccextractor <file>

GUI:

To use CCExtractor with a gui you will additionally need to install GLEW and GLFW

In order to compile it you'll need to configure it using autoconf. The only difference passing the -with-gui option to ./configure.

./autogen.sh && ./configure --with-gui && make

Once set up you can run the GUI interface from the terminal ./ccextractorGUI