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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I run the MacTeX 2012 installer and it installed a bunch of apps and tools under /Applications/TeX. However, I can't find the latex executables.

There is no /usr/texbin, no /usr/local/texlive. If I try to generate a PDF in TeXShop it returns an error, because it doesn't find the executables.

Shouldn't the MacTeX installer install them too? Where are they located?

share|improve this question
Welcome to TeX.sx! – Corentin Oct 28 '12 at 21:01
up vote 4 down vote accepted


The MacTeX installer should have installed them in /usr/texbin. To check if the executables are installed anywhere, use the following:

$ which pdftex 

It should return:


Or, for OS X 10.11 and above:


If it doesn't, you'll have to re-install MacTeX.


It could be your package is corrupt, to check run the following from the directory in which MacTeX.pkg is located:

$ openssl md5 MacTeX.pkg

This should give the following output:

MD5(MacTeX.pkg)= 973605af585212059b7565f1d542e398

If it the checksum doesn't match you should download it again, I recommend using the torrent.

share|improve this answer
I doesn't return anything unfortunatelly. The folder /usr/texbin doesn't exist on my machine. I tried reinstalling MacTeX 3 times now. – Jawap Oct 28 '12 at 21:00
@Jawap Usually /usr/texbin is a symbolic link. Do you have /usr/local/texlive/2012/bin? – Corentin Oct 28 '12 at 21:03
Hmm, reïnstalling fixed it in my case. You could try running FixMacTeX2012.pkg (located in /Application/TeX). When and how did you obtain the installer? – Silke Oct 28 '12 at 21:04
Well running FixMaxTeX2012.pkg added a symbolic link at /usr/texbin pointing to /Library/TeX/Distributions/.DefaultTeX/Contents/Programs/texbin. However I have no /Library/TeX folder... I also don't have a /usr/local/texlive folder :-( – Jawap Oct 28 '12 at 21:15
@Jawap have you verified your package using the instruction I added? – Silke Oct 28 '12 at 21:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.