How To Install gocr on Fedora 36

In this tutorial we learn how to install gocr in Fedora 36. gocr is GNU Optical Character Recognition program

Introduction

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

What is gocr

GOCR is an OCR (Optical Character Recognition) program, developed under the GNU Public License. It converts scanned images of text back to text files. Joerg Schulenburg started the program, and now leads a team of developers. GOCR can be used with different front-ends, which makes it very easy to port to different OSes and architectures. It can open many different image formats, and its quality have been improving in a daily basis.

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

Install gocr 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 gocr using dnf by running the following command:

sudo dnf -y install gocr

Install gocr 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 gocr using yum by running the following command:

sudo yum -y install gocr

How To Uninstall gocr on Fedora 36

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

sudo dnf remove gocr

gocr Package Contents on Fedora 36

/usr/bin/gocr
/usr/lib/.build-id
/usr/lib/.build-id/26
/usr/lib/.build-id/26/0321e3bb0899d71444381ad8b9f2b901b1de76
/usr/share/doc/gocr
/usr/share/doc/gocr/AUTHORS
/usr/share/doc/gocr/BUGS
/usr/share/doc/gocr/CREDITS
/usr/share/doc/gocr/HISTORY
/usr/share/doc/gocr/README
/usr/share/doc/gocr/READMEde.txt
/usr/share/doc/gocr/REMARK.txt
/usr/share/doc/gocr/REVIEW
/usr/share/doc/gocr/TODO
/usr/share/doc/gocr/gocr.html
/usr/share/doc/gocr/gpl.html
/usr/share/man/man1/gocr.1.gz

References

Summary

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