1

This question already has an answer here:

When compiling TeX files that compiled OK before the upgrade I get an error message -bash: xelatex: command not found. I have not changed my PATH:

/opt/local/bin:/opt/local/sbin:/Users/richard/.iraf/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/texbin

marked as duplicate by Sean Allred, Andrew Swann, Andrew, Gonzalo Medina, egreg Jun 13 '15 at 19:26

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2

Just for reference, here's how /usr/texbin winds up pointing to /usr/local/texlive/2014:

/usr/texbin -> ../Library/TeX/Distributions/Programs/texbin
/Library/TeX/Distributions/Programs/texbin -> ../.DefaultTeX/Contents/Programs/texbin
/Library/TeX/Distributions/.DefaultTeX/Contents/Programs/texbin -> x86_64
/Library/TeX/Distributions/.DefaultTeX/Contents/Programs/x86_64 -> ../../../../../../../usr/local/texlive/2014/bin/x86_64-darwin

I'm pretty sure OS upgrades will wipe out local changes to the file system, excluding home directories and /usr/local. But there's enough changes that MacTeX makes in /usr, /Library, etc. that could get wiped. I've always used FixMacTeX(version).pkg after every OS upgrade, and it's always worked.

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