How To Install texlive-mgltex on Fedora 36
Introduction
In this tutorial we learn how to install texlive-mgltex on Fedora 36.
What is texlive-mgltex
This package allows you to create high-quality publication-ready graphics directly from MGL scripts embedded into your LaTeX document, using the MathGL library. Besides following the LaTeX philosophy of allowing you to concentrate on content rather than output (mglTeX takes care of producing the output), mglTeX facilitates the maintenance of your document, since both code for text and code for plots are contained in a single file. MathGL. is a fast and efficient library by Alexey Balakin for the creation of high-quality publication-ready scientific graphics. Although it defines interfaces for many programming languages, it also implements its own scripting language, called MGL, which can be used independently.
We can use yum or dnf to install texlive-mgltex on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-mgltex.
Install texlive-mgltex 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-mgltex using dnf by running the following command:
sudo dnf -y install texlive-mgltex
Install texlive-mgltex 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-mgltex using yum by running the following command:
sudo yum -y install texlive-mgltex
How To Uninstall texlive-mgltex on Fedora 36
To uninstall only the texlive-mgltex package we can use the following command:
sudo dnf remove texlive-mgltex
texlive-mgltex Package Contents on Fedora 36
/usr/share/licenses/texlive-mgltex
/usr/share/licenses/texlive-mgltex/gpl3.txt
/usr/share/texlive/texmf-dist/doc/latex/mgltex
/usr/share/texlive/texmf-dist/doc/latex/mgltex/README
/usr/share/texlive/texmf-dist/doc/latex/mgltex/Recompilation_decision.eps
/usr/share/texlive/texmf-dist/doc/latex/mgltex/Recompilation_decision.pdf
/usr/share/texlive/texmf-dist/doc/latex/mgltex/Recompilation_decision.svg
/usr/share/texlive/texmf-dist/doc/latex/mgltex/mgltex.pdf
/usr/share/texlive/texmf-dist/doc/latex/mgltex/sample.pdf
/usr/share/texlive/texmf-dist/doc/latex/mgltex/sample.tex
/usr/share/texlive/texmf-dist/tex/latex/mgltex
/usr/share/texlive/texmf-dist/tex/latex/mgltex/mgltex.sty
References
Summary
In this tutorial we learn how to install texlive-mgltex on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).