How To Install tesseract on Fedora 36

In this tutorial we learn how to install tesseract in Fedora 36. tesseract is Raw OCR Engine

Introduction

In this tutorial we learn how to install tesseract on Fedora 36.

What is tesseract

A commercial quality OCR engine originally developed at HP between 1985 and 1995. In 1995, this engine was among the top 3 evaluated by UNLV. It was open-sourced by HP and UNLV in 2005.

We can use yum or dnf to install tesseract on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install tesseract.

Install tesseract on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install tesseract using dnf by running the following command:

sudo dnf -y install tesseract

Install tesseract on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install tesseract using yum by running the following command:

sudo yum -y install tesseract

How To Uninstall tesseract on Fedora 36

To uninstall only the tesseract package we can use the following command:

sudo dnf remove tesseract

tesseract Package Contents on Fedora 36

/usr/bin/tesseract
/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/f344bff5e62ad2c71390a78c7c5934adf7d3b4
/usr/lib/.build-id/66
/usr/lib/.build-id/66/0a6182dacded61f96d0aca9bbb57435022bfb7
/usr/lib/libtesseract.so.5
/usr/lib/libtesseract.so.5.0.0
/usr/share/doc/tesseract
/usr/share/doc/tesseract/AUTHORS
/usr/share/doc/tesseract/ChangeLog
/usr/share/doc/tesseract/README.md
/usr/share/licenses/tesseract
/usr/share/licenses/tesseract/LICENSE
/usr/share/man/man1/tesseract.1.gz
/usr/share/tesseract
/usr/share/tesseract/tessdata
/usr/share/tesseract/tessdata/configs
/usr/share/tesseract/tessdata/configs/alto
/usr/share/tesseract/tessdata/configs/ambigs.train
/usr/share/tesseract/tessdata/configs/api_config
/usr/share/tesseract/tessdata/configs/bigram
/usr/share/tesseract/tessdata/configs/box.train
/usr/share/tesseract/tessdata/configs/box.train.stderr
/usr/share/tesseract/tessdata/configs/digits
/usr/share/tesseract/tessdata/configs/get.images
/usr/share/tesseract/tessdata/configs/hocr
/usr/share/tesseract/tessdata/configs/inter
/usr/share/tesseract/tessdata/configs/kannada
/usr/share/tesseract/tessdata/configs/linebox
/usr/share/tesseract/tessdata/configs/logfile
/usr/share/tesseract/tessdata/configs/lstm.train
/usr/share/tesseract/tessdata/configs/lstmbox
/usr/share/tesseract/tessdata/configs/lstmdebug
/usr/share/tesseract/tessdata/configs/makebox
/usr/share/tesseract/tessdata/configs/pdf
/usr/share/tesseract/tessdata/configs/quiet
/usr/share/tesseract/tessdata/configs/rebox
/usr/share/tesseract/tessdata/configs/strokewidth
/usr/share/tesseract/tessdata/configs/tsv
/usr/share/tesseract/tessdata/configs/txt
/usr/share/tesseract/tessdata/configs/unlv
/usr/share/tesseract/tessdata/configs/wordstrbox
/usr/share/tesseract/tessdata/pdf.ttf
/usr/share/tesseract/tessdata/tessconfigs
/usr/share/tesseract/tessdata/tessconfigs/batch
/usr/share/tesseract/tessdata/tessconfigs/batch.nochop
/usr/share/tesseract/tessdata/tessconfigs/matdemo
/usr/share/tesseract/tessdata/tessconfigs/msdemo
/usr/share/tesseract/tessdata/tessconfigs/nobatch
/usr/share/tesseract/tessdata/tessconfigs/segdemo

References

Summary

In this tutorial we learn how to install tesseract on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install tesseract on Fedora 36” linkTitle: “tesseract” type: “docs” description: “In this tutorial we learn how to install tesseract in Fedora 36. tesseract is Raw OCR Engine” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/tesseract-featured.png

Introduction

In this tutorial we learn how to install tesseract on Fedora 36.

What is tesseract

A commercial quality OCR engine originally developed at HP between 1985 and 1995. In 1995, this engine was among the top 3 evaluated by UNLV. It was open-sourced by HP and UNLV in 2005.

We can use yum or dnf to install tesseract on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install tesseract.

Install tesseract on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install tesseract using dnf by running the following command:

sudo dnf -y install tesseract

Install tesseract on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install tesseract using yum by running the following command:

sudo yum -y install tesseract

How To Uninstall tesseract on Fedora 36

To uninstall only the tesseract package we can use the following command:

sudo dnf remove tesseract

tesseract Package Contents on Fedora 36

/usr/bin/tesseract
/usr/lib/.build-id
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/43b7761c8601b7203e06fe9aa64b53555f8815
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/2b9eaee39dae7718d870dbc14104aa8f621620
/usr/lib64/libtesseract.so.5
/usr/lib64/libtesseract.so.5.0.0
/usr/share/doc/tesseract
/usr/share/doc/tesseract/AUTHORS
/usr/share/doc/tesseract/ChangeLog
/usr/share/doc/tesseract/README.md
/usr/share/licenses/tesseract
/usr/share/licenses/tesseract/LICENSE
/usr/share/man/man1/tesseract.1.gz
/usr/share/tesseract
/usr/share/tesseract/tessdata
/usr/share/tesseract/tessdata/configs
/usr/share/tesseract/tessdata/configs/alto
/usr/share/tesseract/tessdata/configs/ambigs.train
/usr/share/tesseract/tessdata/configs/api_config
/usr/share/tesseract/tessdata/configs/bigram
/usr/share/tesseract/tessdata/configs/box.train
/usr/share/tesseract/tessdata/configs/box.train.stderr
/usr/share/tesseract/tessdata/configs/digits
/usr/share/tesseract/tessdata/configs/get.images
/usr/share/tesseract/tessdata/configs/hocr
/usr/share/tesseract/tessdata/configs/inter
/usr/share/tesseract/tessdata/configs/kannada
/usr/share/tesseract/tessdata/configs/linebox
/usr/share/tesseract/tessdata/configs/logfile
/usr/share/tesseract/tessdata/configs/lstm.train
/usr/share/tesseract/tessdata/configs/lstmbox
/usr/share/tesseract/tessdata/configs/lstmdebug
/usr/share/tesseract/tessdata/configs/makebox
/usr/share/tesseract/tessdata/configs/pdf
/usr/share/tesseract/tessdata/configs/quiet
/usr/share/tesseract/tessdata/configs/rebox
/usr/share/tesseract/tessdata/configs/strokewidth
/usr/share/tesseract/tessdata/configs/tsv
/usr/share/tesseract/tessdata/configs/txt
/usr/share/tesseract/tessdata/configs/unlv
/usr/share/tesseract/tessdata/configs/wordstrbox
/usr/share/tesseract/tessdata/pdf.ttf
/usr/share/tesseract/tessdata/tessconfigs
/usr/share/tesseract/tessdata/tessconfigs/batch
/usr/share/tesseract/tessdata/tessconfigs/batch.nochop
/usr/share/tesseract/tessdata/tessconfigs/matdemo
/usr/share/tesseract/tessdata/tessconfigs/msdemo
/usr/share/tesseract/tessdata/tessconfigs/nobatch
/usr/share/tesseract/tessdata/tessconfigs/segdemo

References

Summary

In this tutorial we learn how to install tesseract on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).