On UNIX you have the texmf folder in your home directory where you store packages you've installed yourself, but where is that folder on a Windows install?

Yeah, I know that if you use MiKTeX then you don't need to worry about it since it installs needed packages on-the-fly, but I'm still interested. =)


2 Answers 2


'texmf' is not the exact directory name, but refer to the root paths of the TeX distribution. There are often more than one 'texmf' tree, and they are often not called 'texmf'. In MiKTeX, you can find all texmf tree in MiKTeX's option (Start menu -> MiKTeX -> Maintenance -> settings):

enter image description here

  • Does a Linux install also apply multiple root paths?
    – gablin
    Mar 7, 2011 at 15:32
  • 1
    Yes. TeX Live 2010 has texmf, texmf-dist, texmf-var, texmf-local, texmf-config and ~/.texlive2010/texmf-var, ~/.texlive2010/texmf-config, for both Windows and Linux.
    – Leo Liu
    Mar 7, 2011 at 15:46

You could type at the command prompt:

kpsewhich -var-value TEXMFHOME


kpsewhich -expand-var '$TEXMFHOME'

While on my Linux system, it returns /home/stefan/texmf, on Windows it may return something like C:/Users/Gablin/texmf depending on where your Windows user profile is.

The syntax of kpsewhich may vary depending on the system, for example regarding the quotes or dashes. Type kpsewhich --help.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .