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:
Open the SSH or terminal.
Run the command sudo apt update to update the package list.
Run the command sudo apt install tesseract-ocr-all to install Tesseract OCR with support for all languages.
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.