ubuntu uninstall tesseract code example Example: uninstall tesseract 4 sudo apt-get autoremove --purge tesseract-ocr