How To Install yagf on Fedora 34

yagf is Graphical front-end for cuneiform

Introduction

In this tutorial we learn how to install yagf on Fedora 34.

What is yagf

YAGF is a graphical interface for the cuneiform text recognition program. With YAGF you can scan images via XSane, perform images preprocessing and recognize texts using cuneiform from a single command center. YAGF also makes it easy to scan and recognize several images sequentially.

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

Install yagf on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install yagf

Install yagf on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install yagf

How To Uninstall yagf on Fedora 34

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

sudo dnf remove yagf

yagf Package Contents on Fedora 34

/usr/bin/yagf
/usr/lib/.build-id
/usr/lib/.build-id/89
/usr/lib/.build-id/89/a18d5c63962c69ef1b403aed9f11fc93af1dcd
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/854aa4cad1d6c3b0289224eda674fd733d5d74
/usr/lib64/yagf
/usr/lib64/yagf/libxspreload.so
/usr/share/appdata/YAGF.appdata.xml
/usr/share/applications/YAGF.desktop
/usr/share/doc/yagf
/usr/share/doc/yagf/AUTHORS
/usr/share/doc/yagf/COPYING
/usr/share/doc/yagf/ChangeLog
/usr/share/doc/yagf/DESCRIPTION
/usr/share/doc/yagf/README
/usr/share/icons/hicolor/96x96/apps/yagf.png
/usr/share/pixmaps/yagf.png
/usr/share/yagf
/usr/share/yagf/translations
/usr/share/yagf/translations/yagf_fr.qm
/usr/share/yagf/translations/yagf_ru.qm

References

Summary

In this tutorial we learn how to install yagf on Fedora 34 using yum and dnf.