[Tex/LaTex] Fresh install Mac OS Sierra and MacTeX

errorsinstallingmacmactex

Fresh install of Mac OS Sierra, fresh install of MacTeX. If I run with the terminal pdflatex I get

-bash: pdflatex: command not found

Any idea?

Thank you for help and answers.

Best Answer

According to post by Dick Koch on the macosx-tex mailing list:

This problem only concerns users who install Sierra on a new disk, rather than updating an existing system to Sierra.

If these users install MacTeX-2016 or BasicTeX-2016, they will discover that they cannot typeset from the command line. To fix this problem, download FixLink from my web site:

http://pages.uoregon.edu/koch/FixLink.pkg

This is a very, very small download package; install the package.

Eventually this fix will be moved to BasicTeX-2016 and MacTeX-2016, but before remaking those packages, I want to make sure this one creates no problems. I certainly tested FixLink on my own machine.

The technical problem is that Sierra does not create the folders /etc/paths.d or /etc/manpaths.d, so our packages have to create them. XQuartz creates the folders as well, so another solution is to install XQuartz before installing BasicTeX or MacTeX.

Fix included in latest MacTeX download

The revised MacTeX download, dated 09 October 2016, includes the fix. See:

https://tug.org/mactex/mactex-download.html

Related Question