From ba37cc41c873636798eec402cb7944cd093a90fc Mon Sep 17 00:00:00 2001 From: Ritesh Maurya <31176772+MauryaRitesh@users.noreply.github.com> Date: Mon, 13 Dec 2021 21:59:53 +0530 Subject: [PATCH] Update COMPILATION.MD (#1401) Most of the users use Ubuntu 18.04 and later, so added the `libtesseract-dev` rather than `tesseract-ocr-dev` in the bash command so new people don't run into any errors as the NOTE was written after the command. --- docs/COMPILATION.MD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/COMPILATION.MD b/docs/COMPILATION.MD index 0c4ad187..aca45f22 100644 --- a/docs/COMPILATION.MD +++ b/docs/COMPILATION.MD @@ -17,7 +17,7 @@ git clone https://github.com/CCExtractor/ccextractor.git Debian: ```bash -sudo apt-get install -y libglew-dev libglfw3-dev cmake gcc libcurl4-gnutls-dev tesseract-ocr tesseract-ocr-dev libleptonica-dev clang libclang-dev +sudo apt-get install -y libglew-dev libglfw3-dev cmake gcc libcurl4-gnutls-dev tesseract-ocr libtesseract-dev libleptonica-dev clang libclang-dev ``` RHEL: @@ -27,7 +27,7 @@ yum install -y glew-devel glfw-devel cmake gcc libcurl-devel tesseract-devel lep ``` Rust 1.54 or above is also required.[Install Rust](https://www.rust-lang.org/tools/install). Check specific compilation methods below, on how to compile without rust -**Note:** On Ubuntu Version 18.04 (Bionic) and (probably) later, install `libtesseract-dev` rather than `tesseract-ocr-dev`, which does not exist anymore. +**Note:** On Ubuntu Version 18.04 (Bionic) and later, `libtesseract-dev` is installed rather than `tesseract-ocr-dev`, which does not exist anymore. **Note:** On Ubuntu Version 14.04 (Trusty) and earlier, you should build leptonica and tesseract from source