Instale o tesseract 5 ubuntu

sudo apt update
sudo apt install snapd
sudo snap install tesseract --edge
FishBrawler