How To Install ocrad on Fedora 36
Introduction
In this tutorial we learn how to install ocrad
on Fedora 36.
What is ocrad
GNU Ocrad is an OCR (Optical Character Recognition) program based on a feature extraction method. It reads images in pbm (bitmap), pgm (greyscale) or ppm (color) formats and produces text in byte (8-bit) or UTF-8 formats. Also includes a layout analyser able to separate the columns or blocks of text normally found on printed pages. Ocrad can be used as a stand-alone console application, or as a backend to other programs.
We can use yum
or dnf
to install ocrad
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocrad.
Install ocrad 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 ocrad
using dnf
by running the following command:
sudo dnf -y install ocrad
Install ocrad 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 ocrad
using yum
by running the following command:
sudo yum -y install ocrad
How To Uninstall ocrad on Fedora 36
To uninstall only the ocrad
package we can use the following command:
sudo dnf remove ocrad
ocrad Package Contents on Fedora 36
/usr/bin/ocrad
/usr/lib/.build-id
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/22934d59234af1d360d38876448d2a39053771
/usr/share/doc/ocrad
/usr/share/doc/ocrad/AUTHORS
/usr/share/doc/ocrad/COPYING
/usr/share/doc/ocrad/ChangeLog
/usr/share/doc/ocrad/NEWS
/usr/share/doc/ocrad/README
/usr/share/info/ocrad.info.gz
/usr/share/man/man1/ocrad.1.gz
References
Summary
In this tutorial we learn how to install ocrad
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).