delete tesseract completely from ubunut code example Example: uninstall tesseract 4 sudo apt-get autoremove --purge tesseract-ocr