How To Install texlive-mcf2graph on Fedora 36

In this tutorial we learn how to install texlive-mcf2graph in Fedora 36. texlive-mcf2graph is Draw chemical structure diagrams with Metafont/MetaPost

Introduction

In this tutorial we learn how to install texlive-mcf2graph on Fedora 36.

What is texlive-mcf2graph

The Molecular Coding Format (MCF) is a linear notation for describing chemical structure diagrams. This package converts MCF to graphic files using Metafont / MetaPost.

We can use yum or dnf to install texlive-mcf2graph on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-mcf2graph.

Install texlive-mcf2graph 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-mcf2graph using dnf by running the following command:

sudo dnf -y install texlive-mcf2graph

Install texlive-mcf2graph 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-mcf2graph using yum by running the following command:

sudo yum -y install texlive-mcf2graph

How To Uninstall texlive-mcf2graph on Fedora 36

To uninstall only the texlive-mcf2graph package we can use the following command:

sudo dnf remove texlive-mcf2graph

texlive-mcf2graph Package Contents on Fedora 36

/usr/share/licenses/texlive-mcf2graph
/usr/share/licenses/texlive-mcf2graph/bsd.txt
/usr/share/texlive/texmf-dist/metapost/mcf2graph
/usr/share/texlive/texmf-dist/metapost/mcf2graph/mcf2graph.mf
/usr/share/texlive/texmf-dist/tex/latex/mcf2graph
/usr/share/texlive/texmf-dist/tex/latex/mcf2graph/mcf_setup.sty

References

Summary

In this tutorial we learn how to install texlive-mcf2graph on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).