Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have just removed all trace of my old TeXLive installation due to a different problem. I have just reinstalled TeXLive using their own installer on linux (install-tl). I have kept the installation directories as default. The file texmf.cnf is installed correctly at /usr/local/texlive/2012/texmf/web2c/texmf.cnf.

Whenever I try and run anything LaTeX related (latex, pdflatex, lualatex etc.) it fails with the message warning: kpathsea: configuration file texmf.cnf not found in these directories: listing the directories it has searched. The list of directories does not include the place where it has been installed (mentioned in previous paragraph).

It may be important that I used sudo to launch the installer script.

How do I make kpathsea find the configuration file texmf.cnf permanently?

share|improve this question
What does which kpsewhich say? You probably still have the old binaries somewhere. – egreg Feb 4 at 15:49
Thanks @egreg for the fast response, it says /usr/bin/kpsewhich if it helps, the old installation of texlive was in the same directory (before deletion and re-creation). – Dom Feb 4 at 15:51
Also, I tried moving kpsewhich to /usr/local/bin but then which kpsewhich came up with not found. – Dom Feb 4 at 15:51
2  
You have to purge /usr/local/bin from the old TeX binaries and move /usr/local/texlive/2012/bin/<arch> up in the PATH variable. – egreg Feb 4 at 15:53
Do you mean purge the old TeX binaries from /usr/local/bin? or are there some settings that I am missing. I'll put it to the top in the path variable and try again. Thank you. – Dom Feb 4 at 15:55
show 2 more comments

closed as too localized by egreg, Kurt, lockstep, Stefan Kottwitz Feb 4 at 23:27

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.