mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2024-12-22 19:11:27 +00:00
Added tutorial for Linux
parent
065a3f4d10
commit
adf875c510
34
Installation.md
Normal file
34
Installation.md
Normal file
@ -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`
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user