You can use AUR.
In your terminal window, type:
1. git clone https://aur.archlinux.org/packages/tesseract-git
2. cd tesseract-git/
3. makepkg -si
Or:
1. git clone https://aur.archlinux.org/packages/tesseract-ocr-git
2. cd tesseract-ocr-git/
3. makepkg -si
Use Link: https://pypi.org/project/pytesseract/ for instruction on setup in debian and windows.