How to install TesseractOCR on Ubuntu

To install Tesseract OCR with support for all languages on Ubuntu, you can use the package manager apt. Here are the steps to do this:

  1. Open the SSH or terminal.

  2. Run the command sudo apt update to update the package list.

  3. Run the command sudo apt install tesseract-ocr-all to install Tesseract OCR with support for all languages.

Alternatively, you can install only specific languages

  1. Run the command sudo apt install tesseract-ocr-<langcode> where <langcode> is the code for the language you want to install.

For example, to install support for French, you would run sudo apt install tesseract-ocr-fra.

You can verify that Tesseract OCR has been correctly installed by running the command tesseract --version which should display the version of Tesseract OCR installed on your system.