How To Install texlive-mfpic on Fedora 36
Introduction
In this tutorial we learn how to install texlive-mfpic
on Fedora 36.
What is texlive-mfpic
Mfpic is a scheme for producing pictures from (La)TeX commands. Commands \mfpic and \endmfpic (in LaTeX, the mfpic environment) enclose a group in which drawing commands may be placed. The commands generate a Meta-language file, which may be processed by Metapost (or even Metafont). The resulting image file will be read back in to the document to place the picture at the point where the original (La)TeX commands appeared. Note that the ability to use Metapost here means that the package works equally well in LaTeX and PDFLaTeX.
We can use yum
or dnf
to install texlive-mfpic
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-mfpic.
Install texlive-mfpic 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-mfpic
using dnf
by running the following command:
sudo dnf -y install texlive-mfpic
Install texlive-mfpic 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-mfpic
using yum
by running the following command:
sudo yum -y install texlive-mfpic
How To Uninstall texlive-mfpic on Fedora 36
To uninstall only the texlive-mfpic
package we can use the following command:
sudo dnf remove texlive-mfpic
texlive-mfpic Package Contents on Fedora 36
/usr/share/licenses/texlive-mfpic
/usr/share/licenses/texlive-mfpic/lppl1.3.txt
/usr/share/texlive/texmf-dist/metafont/mfpic
/usr/share/texlive/texmf-dist/metafont/mfpic/grafbase.mf
/usr/share/texlive/texmf-dist/metapost/mfpic
/usr/share/texlive/texmf-dist/metapost/mfpic/dvipsnam.mp
/usr/share/texlive/texmf-dist/metapost/mfpic/grafbase.mp
/usr/share/texlive/texmf-dist/tex/generic/mfpic
/usr/share/texlive/texmf-dist/tex/generic/mfpic/mfpic.sty
/usr/share/texlive/texmf-dist/tex/generic/mfpic/mfpic.tex
/usr/share/texlive/texmf-dist/tex/generic/mfpic/mfpicdef.tex
References
Summary
In this tutorial we learn how to install texlive-mfpic
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).