uninstall tesseract and dependencies in ubub t code example Example: uninstall tesseract 4 sudo apt-get autoremove --purge tesseract-ocr