How To Install texlive-altfont on Fedora 36

In this tutorial we learn how to install texlive-altfont in Fedora 36. texlive-altfont is Alternative font handling in LaTeX

Introduction

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

What is texlive-altfont

The package provides a replacement for that part of psnfss and mfnfss that changes the default font. The package is distributed together with the psfont package, by the same author.

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

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

sudo dnf -y install texlive-altfont

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

sudo yum -y install texlive-altfont

How To Uninstall texlive-altfont on Fedora 36

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

sudo dnf remove texlive-altfont

texlive-altfont Package Contents on Fedora 36

/usr/share/licenses/texlive-altfont
/usr/share/licenses/texlive-altfont/gpl.txt
/usr/share/texlive/texmf-dist/tex/latex/altfont
/usr/share/texlive/texmf-dist/tex/latex/altfont/altfont.cfg
/usr/share/texlive/texmf-dist/tex/latex/altfont/altfont.sty
/usr/share/texlive/texmf-dist/tex/latex/altfont/psfont.cfg
/usr/share/texlive/texmf-dist/tex/latex/altfont/psfont.sty

References

Summary

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