feynmf command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
feynmf: command not found
or when using sudo you get the following error message
sudo: feynmf: command not found
Solutions to feynmf: command not found
How To Fix feynmf: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu feynmf is provided by feynmf package.
feynmf is:
FeynMF is a LaTeX package for easy drawing of professional-quality Feynman diagrams, illustrations that depict the fundamental interactions of subatomic particles. The diagrams may be created using either the Metafont or MetaPost programs. FeynMF lays out most diagrams satisfactorily from the structure of the graph without any need for manual intervention. Nevertheless all the power of Metafont or MetaPost is available for more obscure cases.
Note that you will need the texlive-metapost package in order to use the MetaPost-based version of FeynMF.
To fix this problem, we can install more using the command below.
sudo apt-get -y install feynmf
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install feynmf.
sudo apt -y install feynmf
Or if you have aptitude installed you can use the following command.
sudo aptitude install feynmf
Summary
In this tutorial we learn how to fix feynmf command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.