How To Install tesseract-ocr-all on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
3 minutes • 499 words
Introduction
In this tutorial we learn how to install tesseract-ocr-all on Ubuntu.
What is tesseract-ocr-all
tesseract-ocr-all is:
This is a metapackage for Tesseract OCR and includes all supported languages and scripts.
There are three methods to install tesseract-ocr-all on Ubuntu. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install tesseract-ocr-all Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install tesseract-ocr-all using apt-get by running the following command:
sudo apt-get -y install tesseract-ocr-all
Install tesseract-ocr-all Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install tesseract-ocr-all using apt by running the following command:
sudo apt -y install tesseract-ocr-all
Install tesseract-ocr-all Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install tesseract-ocr-all using aptitude by running the following command:
sudo aptitude -y install tesseract-ocr-all
How To Uninstall tesseract-ocr-all on Ubuntu
To uninstall only the tesseract-ocr-all package we can use the following command:
sudo apt-get remove tesseract-ocr-all
Uninstall tesseract-ocr-all And Its Dependencies
To uninstall tesseract-ocr-all and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove tesseract-ocr-all
Remove tesseract-ocr-all Configurations and Data
To remove tesseract-ocr-all configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge tesseract-ocr-all
Remove tesseract-ocr-all configuration, data, and all of its dependencies
We can use the following command to remove tesseract-ocr-all configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge tesseract-ocr-all
Dependencies
tesseract-ocr-all have the following dependencies:
- tesseract-ocr
- tesseract-ocr-bul
- tesseract-ocr-cat
- tesseract-ocr-ces
- tesseract-ocr-dan
- tesseract-ocr-deu
- tesseract-ocr-ell
- tesseract-ocr-eng
- tesseract-ocr-fin
- tesseract-ocr-fra
- tesseract-ocr-hun
- tesseract-ocr-ind
- tesseract-ocr-ita
- tesseract-ocr-lav
- tesseract-ocr-lit
- tesseract-ocr-nld
- tesseract-ocr-nor
- tesseract-ocr-pol
- tesseract-ocr-por
- tesseract-ocr-ron
- tesseract-ocr-rus
- tesseract-ocr-slk
- tesseract-ocr-slv
- tesseract-ocr-spa
- tesseract-ocr-srp
- tesseract-ocr-swe
- tesseract-ocr-tur
- tesseract-ocr-ukr
- tesseract-ocr-vie
- tesseract-ocr-chi-sim
- tesseract-ocr-chi-tra
- tesseract-ocr-amh
- tesseract-ocr-asm
- tesseract-ocr-aze-cyrl
- tesseract-ocr-bod
- tesseract-ocr-bos
- tesseract-ocr-ceb
- tesseract-ocr-cym
- tesseract-ocr-dzo
- tesseract-ocr-fas
- tesseract-ocr-gle
- tesseract-ocr-guj
- tesseract-ocr-hat
- tesseract-ocr-iku
- tesseract-ocr-jav
- tesseract-ocr-kat
- tesseract-ocr-kat-old
- tesseract-ocr-kaz
- tesseract-ocr-khm
- tesseract-ocr-kir
- tesseract-ocr-lao
- tesseract-ocr-lat
- tesseract-ocr-mar
- tesseract-ocr-mya
- tesseract-ocr-nep
- tesseract-ocr-ori
- tesseract-ocr-pan
- tesseract-ocr-pus
- tesseract-ocr-san
- tesseract-ocr-sin
- tesseract-ocr-srp-latn
- tesseract-ocr-syr
- tesseract-ocr-tgk
- tesseract-ocr-tir
- tesseract-ocr-uig
- tesseract-ocr-urd
- tesseract-ocr-uzb
- tesseract-ocr-uzb-cyrl
- tesseract-ocr-yid
- tesseract-ocr-osd
- tesseract-ocr-afr
- tesseract-ocr-ara
- tesseract-ocr-aze
- tesseract-ocr-bel
- tesseract-ocr-ben
- tesseract-ocr-chr
- tesseract-ocr-enm
- tesseract-ocr-epo
- tesseract-ocr-est
- tesseract-ocr-eus
- tesseract-ocr-frk
- tesseract-ocr-frm
- tesseract-ocr-glg
- tesseract-ocr-heb
- tesseract-ocr-hin
- tesseract-ocr-hrv
- tesseract-ocr-isl
- tesseract-ocr-ita-old
- tesseract-ocr-jpn
- tesseract-ocr-kan
- tesseract-ocr-kor
- tesseract-ocr-mal
- tesseract-ocr-mkd
- tesseract-ocr-mlt
- tesseract-ocr-msa
- tesseract-ocr-spa-old
- tesseract-ocr-sqi
- tesseract-ocr-swa
- tesseract-ocr-tam
- tesseract-ocr-tel
- tesseract-ocr-tha
- tesseract-ocr-bre
- tesseract-ocr-chi-sim-vert
- tesseract-ocr-chi-tra-vert
- tesseract-ocr-cos
- tesseract-ocr-div
- tesseract-ocr-fao
- tesseract-ocr-fil
- tesseract-ocr-fry
- tesseract-ocr-gla
- tesseract-ocr-hye
- tesseract-ocr-jpn-vert
- tesseract-ocr-kor-vert
- tesseract-ocr-kmr
- tesseract-ocr-ltz
- tesseract-ocr-mon
- tesseract-ocr-mri
- tesseract-ocr-oci
- tesseract-ocr-que
- tesseract-ocr-snd
- tesseract-ocr-sun
- tesseract-ocr-tat
- tesseract-ocr-ton
- tesseract-ocr-yor
- tesseract-ocr-script-arab
- tesseract-ocr-script-armn
- tesseract-ocr-script-beng
- tesseract-ocr-script-cans
- tesseract-ocr-script-cher
- tesseract-ocr-script-cyrl
- tesseract-ocr-script-deva
- tesseract-ocr-script-ethi
- tesseract-ocr-script-frak
- tesseract-ocr-script-geor
- tesseract-ocr-script-grek
- tesseract-ocr-script-gujr
- tesseract-ocr-script-guru
- tesseract-ocr-script-hans
- tesseract-ocr-script-hans-vert
- tesseract-ocr-script-hant
- tesseract-ocr-script-hant-vert
- tesseract-ocr-script-hang
- tesseract-ocr-script-hang-vert
- tesseract-ocr-script-hebr
- tesseract-ocr-script-jpan
- tesseract-ocr-script-jpan-vert
- tesseract-ocr-script-knda
- tesseract-ocr-script-khmr
- tesseract-ocr-script-laoo
- tesseract-ocr-script-latn
- tesseract-ocr-script-mlym
- tesseract-ocr-script-mymr
- tesseract-ocr-script-orya
- tesseract-ocr-script-sinh
- tesseract-ocr-script-syrc
- tesseract-ocr-script-taml
- tesseract-ocr-script-telu
- tesseract-ocr-script-thaa
- tesseract-ocr-script-thai
- tesseract-ocr-script-tibt
- tesseract-ocr-script-viet
- tesseract-ocr-grc
References
Summary
In this tutorial we learn how to install tesseract-ocr-all package on Ubuntu using different package management tools: apt, apt-get and aptitude.