train-tesseract command not found

In this troubleshooting guide we learn how to fix train-tesseract command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

train-tesseract: command not found

or when using sudo you get the following error message

sudo: train-tesseract: command not found

Solutions to train-tesseract: command not found

How To Fix train-tesseract: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu train-tesseract is provided by lios package.

lios is:

Lios provides a graphical interface on top of the Cuneiform and Tesseract OCR backends to make OCR processing easier for impaired users, with full autorotation, brightness optimization, rectangle selection, audio feedback, etc.

To fix this problem, we can install more using the command below.

sudo apt-get -y install lios

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install lios.

sudo apt -y install lios

Or if you have aptitude installed you can use the following command.

sudo aptitude install lios

Summary

In this tutorial we learn how to fix train-tesseract command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.