Error in TeX Live – Font ... not loadable: Metric (TFM) file not found

I just installed the recommended fonts and it worked for me. =) The command for a Debian based Linux distribution (including Ubuntu and Mint):

sudo apt-get install texlive-fonts-recommended

In this case, the missing file is ecrm1000.tfm according to the error message. To know which package it belongs to, you can use the command tlmgr search --file ecrm1000.tfm --global which finds it in package ec. So you have to install it with tlmgr install ec.

Then you may have other errors, other files to look up and other packages to install. Since the process may be cumbersome, you may want to install at least collection-latexrecommended and collection-fontsrecommended if you really don't want a full install.

An alternative would be to use the texliveonfly http://ctan.org/pkg/texliveonfly package which installs missing packages on the fly (see its documentation).


In case you are on Fedora:

sudo dnf install texlive-collection-fontsrecommended.noarch