How To Install texlive-texonly on Fedora 36

In this tutorial we learn how to install texlive-texonly in Fedora 36. texlive-texonly is A sample document in Plain TeX

Introduction

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

What is texlive-texonly

A file written with TeX, not using any packgages or sty-files, to be compiled with TeX or pdfTeX only, not with LaTeX et al.

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

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

sudo dnf -y install texlive-texonly

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

sudo yum -y install texlive-texonly

How To Uninstall texlive-texonly on Fedora 36

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

sudo dnf remove texlive-texonly

texlive-texonly Package Contents on Fedora 36

/usr/share/licenses/texlive-texonly
/usr/share/licenses/texlive-texonly/lppl.txt
/usr/share/texlive/texmf-dist/doc/plain/texonly
/usr/share/texlive/texmf-dist/doc/plain/texonly/README.md
/usr/share/texlive/texmf-dist/doc/plain/texonly/texonly2.pdf
/usr/share/texlive/texmf-dist/doc/plain/texonly/texonly2.tex

References

Summary

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