How To Install texlive-diagmac2 on Fedora 36
Introduction
In this tutorial we learn how to install texlive-diagmac2 on Fedora 36.
What is texlive-diagmac2
This is a development of the long-established diagmac package, using pict2e so that the restrictions on line direction are removed.
We can use yum or dnf to install texlive-diagmac2 on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-diagmac2.
Install texlive-diagmac2 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-diagmac2 using dnf by running the following command:
sudo dnf -y install texlive-diagmac2
Install texlive-diagmac2 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-diagmac2 using yum by running the following command:
sudo yum -y install texlive-diagmac2
How To Uninstall texlive-diagmac2 on Fedora 36
To uninstall only the texlive-diagmac2 package we can use the following command:
sudo dnf remove texlive-diagmac2
texlive-diagmac2 Package Contents on Fedora 36
/usr/share/licenses/texlive-diagmac2
/usr/share/licenses/texlive-diagmac2/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/diagmac2
/usr/share/texlive/texmf-dist/tex/latex/diagmac2/diagmac2.sty
References
Summary
In this tutorial we learn how to install texlive-diagmac2 on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).