How To Install texlive-ocr-latex on Fedora 36

In this tutorial we learn how to install texlive-ocr-latex in Fedora 36. texlive-ocr-latex is LaTeX support for ocr fonts

Introduction

In this tutorial we learn how to install texlive-ocr-latex on Fedora 36.

What is texlive-ocr-latex

The package supports use of both ocr-a and ocr-b fonts in LaTeX documents.

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

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

sudo dnf -y install texlive-ocr-latex

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

sudo yum -y install texlive-ocr-latex

How To Uninstall texlive-ocr-latex on Fedora 36

To uninstall only the texlive-ocr-latex package we can use the following command:

sudo dnf remove texlive-ocr-latex

texlive-ocr-latex Package Contents on Fedora 36

/usr/share/licenses/texlive-ocr-latex
/usr/share/licenses/texlive-ocr-latex/gpl.txt
/usr/share/texlive/texmf-dist/tex/latex/ocr-latex
/usr/share/texlive/texmf-dist/tex/latex/ocr-latex/ocr.sty
/usr/share/texlive/texmf-dist/tex/latex/ocr-latex/ot1oca.fd
/usr/share/texlive/texmf-dist/tex/latex/ocr-latex/ot1ocra.fd
/usr/share/texlive/texmf-dist/tex/latex/ocr-latex/ot1ocrb.fd
/usr/share/texlive/texmf-dist/tex/latex/ocr-latex/ot1ocrbn.fd
/usr/share/texlive/texmf-dist/tex/latex/ocr-latex/ot1ocrbns.fd
/usr/share/texlive/texmf-dist/tex/latex/ocr-latex/ot1ocrbo.fd
/usr/share/texlive/texmf-dist/tex/latex/ocr-latex/ot1ocrbs.fd

References

Summary

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