diff --git a/Installation.md b/Installation.md new file mode 100644 index 0000000..905dafd --- /dev/null +++ b/Installation.md @@ -0,0 +1,34 @@ +# 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` + + + +