Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ If you are experimenting with OCR Engine modes, you will need to manually instal

Training data for obsolete Tesseract versions [=< 3.02](https://sourceforge.net/projects/tesseract-ocr-alt/files/?source=navbar) reside in another location.

## Platforms
# Platforms

If Tesseract is not available for your distribution, or you want to use a newer version than they offer, you can [compile your own](Compiling).

### Ubuntu
## [Ubuntu](#ubuntu)

You can install Tesseract and its developer tools on Ubuntu by simply running:

Expand Down Expand Up @@ -69,7 +69,7 @@ deb http://archive.ubuntu.com/ubuntu bionic universe
* [Tesseract 5](https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr5)
* [Tesseract 5 (devel-daily)](https://launchpad.net/~alex-p/+archive/ubuntu/tesseract-ocr-daily)

## RHEL/CentOS/Scientific Linux, Fedora, openSUSE packages
## [RHEL/CentOS/Scientific Linux, Fedora, openSUSE packages](#linux)

* [Tesseract 4](https://build.opensuse.org/project/show/home:Alexander_Pozdnyakov)
* [Tesseract 5](https://build.opensuse.org/project/show/home:Alexander_Pozdnyakov:tesseract5)
Expand Down Expand Up @@ -112,13 +112,13 @@ For distributions that are supported by snapd you may also run the following com

The traineddata is currently not shipped with the snap package and must be placed manually to `~/snap/tesseract/current`.

### macOS
## [macOS](#macos)

You can install Tesseract using either [MacPorts](https://www.macports.org/) or [Homebrew](http://brew.sh).

A macOS wrapper for the Tesseract API is also available at [Tesseract macOS](https://github.com/scott0123/Tesseract-macOS).

#### MacPorts
### MacPorts

To install Tesseract run this command:
```
Expand All @@ -130,7 +130,7 @@ sudo port install tesseract-<langcode>
```
List of available langcodes can be found on [MacPorts tesseract page](https://www.macports.org/ports.php?by=name&substr=tesseract-).

#### Homebrew
### Homebrew

To install Tesseract run this command:
```
Expand All @@ -140,7 +140,7 @@ brew install tesseract
The tesseract directory can then be found using `brew info tesseract`,
e.g. `/usr/local/Cellar/tesseract/3.05.02/share/tessdata/`.

### Windows
## [Windows](#windows)

Installer for Windows for Tesseract 3.05, Tesseract 4 and Tesseract 5 are available from [Tesseract at UB Mannheim](https://github.com/UB-Mannheim/tesseract/wiki). These include the training tools. Both 32-bit and 64-bit installers are available.

Expand All @@ -153,13 +153,13 @@ To access tesseract-OCR from any location you may have to add the directory wher

Experts can also get binaries build with Visual Studio from the build artifacts of the [Appveyor Continuous Integration](https://ci.appveyor.com/project/zdenop/tesseract/history).

#### Cygwin
### Cygwin

Released version >= 3.02 of tesseract-ocr [are part of ](https://mirrors.kernel.org/sourceware/cygwin/x86_64/release/tesseract-ocr/) [Cygwin](https://www.cygwin.com/)

The latest version available is 4.1.0. Please see [announcement](https://www.cygwin.com/ml/cygwin-announce/2019-07/msg00009.html).

#### MSYS2
### MSYS2

Install tesseract-OCR:

Expand All @@ -179,7 +179,7 @@ In the above command, "eng" may be replaced with the [ISO 639 3-letter language
pacman -Ss tesseract-data
```

## Other Platforms
## [Other Platforms](#other)

Tesseract may work on more exotic platforms too. You can either try [compiling it yourself](Compiling), or take a look at the list of [other projects using Tesseract](User-Projects-%E2%80%93-3rdParty.md).

Expand Down