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 updateto update the package list. - Run the command 
sudo apt install tesseract-ocr-allto install Tesseract OCR with support for all languages. 
Alternatively, you can install only specific 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.