How To Install texlive-texliveonfly on Fedora 36
Introduction
In this tutorial we learn how to install texlive-texliveonfly on Fedora 36.
What is texlive-texliveonfly
The package provides a script that performs ‘on the fly’ downloads of missing packages, while a document is being compiled. (This feature is already available in the MikTeX distribution for Windows machines.) To use the script, replace your (LaTeX) compilation command with texliveonfly.py file.tex (default options are –engine=lualatex and –arguments="- synctex=1 -interaction=nonstopmode", which may all be changed). The script is designed to work on Linux distributions.
We can use yum or dnf to install texlive-texliveonfly on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-texliveonfly.
Install texlive-texliveonfly 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-texliveonfly using dnf by running the following command:
sudo dnf -y install texlive-texliveonfly
Install texlive-texliveonfly 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-texliveonfly using yum by running the following command:
sudo yum -y install texlive-texliveonfly
How To Uninstall texlive-texliveonfly on Fedora 36
To uninstall only the texlive-texliveonfly package we can use the following command:
sudo dnf remove texlive-texliveonfly
texlive-texliveonfly Package Contents on Fedora 36
/usr/bin/texliveonfly
/usr/share/licenses/texlive-texliveonfly
/usr/share/licenses/texlive-texliveonfly/gpl3.txt
/usr/share/texlive/texmf-dist/doc/support/texliveonfly
/usr/share/texlive/texmf-dist/doc/support/texliveonfly/README
/usr/share/texlive/texmf-dist/scripts/texliveonfly
/usr/share/texlive/texmf-dist/scripts/texliveonfly/texliveonfly.py
References
Summary
In this tutorial we learn how to install texlive-texliveonfly on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).