how to install tesseract in ubuntu 18.04 code example
Example: install tesseract 5 ubuntu
sudo apt update
sudo apt install snapd
sudo snap install tesseract --edge
sudo apt update
sudo apt install snapd
sudo snap install tesseract --edge