How To Install texlive-modiagram on Fedora 36
Introduction
In this tutorial we learn how to install texlive-modiagram
on Fedora 36.
What is texlive-modiagram
The package provides an environment MOdiagram and some commands, to create molecular orbital diagrams using TikZ. For example, the MO diagram of dihydrogen would be written as \begin{MOdiagram} \atom{left}{ 1s = {0;up} } \atom{right}{ 1s = {0;up} } \molecule{ 1sMO = {1;pair, } } \end{MOdiagram} The package also needs the l3kernel and l3packages bundles from the LaTeX 3 experimental distribution.
We can use yum
or dnf
to install texlive-modiagram
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-modiagram.
Install texlive-modiagram 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-modiagram
using dnf
by running the following command:
sudo dnf -y install texlive-modiagram
Install texlive-modiagram 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-modiagram
using yum
by running the following command:
sudo yum -y install texlive-modiagram
How To Uninstall texlive-modiagram on Fedora 36
To uninstall only the texlive-modiagram
package we can use the following command:
sudo dnf remove texlive-modiagram
texlive-modiagram Package Contents on Fedora 36
/usr/share/licenses/texlive-modiagram
/usr/share/licenses/texlive-modiagram/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/modiagram
/usr/share/texlive/texmf-dist/tex/latex/modiagram/modiagram.sty
References
Summary
In this tutorial we learn how to install texlive-modiagram
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).