notesalexp.org - tesseract-ocr repository for Debian GNU/Linux. You can find the packages of this repository following this link.
1. Open a terminal and install apt-transport-https
sudo apt-get install apt-transport-https
2. Open a terminal and run:
2.1. Tesseract 4.1.x:
For Debian and Ubuntu:
echo "deb https://notesalexp.org/tesseract-ocr4/$(lsb_release -cs)/ $(lsb_release -cs) main"\
| sudo tee /etc/apt/sources.list.d/notesalexp.list > /dev/null
For Raspbian (Stretch, Buster):
echo "deb https://notesalexp.org/tesseract-ocr4/raspbian/$(lsb_release -cs)/ $(lsb_release -cs) main"\
| sudo tee /etc/apt/sources.list.d/notesalexp.list > /dev/null
2.2. Tesseract 5.0.x:
For Debian and Ubuntu:
echo "deb https://notesalexp.org/tesseract-ocr5/$(lsb_release -cs)/ $(lsb_release -cs) main" \
| sudo tee /etc/apt/sources.list.d/notesalexp.list > /dev/null
For Raspbian (Buster):
echo "deb https://notesalexp.org/tesseract-ocr5/raspbian/$(lsb_release -cs)/ $(lsb_release -cs) main" \
| sudo tee /etc/apt/sources.list.d/notesalexp.list > /dev/null
2.3. Tesseract (git build):
For Debian and Ubuntu:
echo "deb https://notesalexp.org/tesseract-ocr-dev/$(lsb_release -cs)/ $(lsb_release -cs) main" \
| sudo tee /etc/apt/sources.list.d/notesalexp.list > /dev/null
For Raspbian (Buster):
echo "deb https://notesalexp.org/tesseract-ocr-dev/raspbian/$(lsb_release -cs)/ $(lsb_release -cs) main" \
| sudo tee /etc/apt/sources.list.d/notesalexp.list > /dev/null
3.Fetch and install the GnuPG key
sudo apt-get update -oAcquire::AllowInsecureRepositories=true
sudo apt-get install notesalexp-keyring -oAcquire::AllowInsecureRepositories=true
sudo apt-get update
or
wget -O - https://notesalexp.org/debian/alexp_key.asc | sudo apt-key add -
sudo apt-get update
4. Enjoy
sudo apt-get install tesseract-ocr
Warning: Need to update the gpg-key.(2018-09-13)
Warning: Some packages for Debian GNU/Linux require http://www.deb-multimedia.org/ repository to be connected.