2

Has anyone tried to install MacTex under locations other than /usr/local/TexLive, such as /opt/TexLive? I'm not sure how I can do it. I didn't find a way to relocate the directory in the installer.

  • No, you can't do it with the MacTeX installer. – egreg Feb 9 '14 at 0:21
  • Sounds like an XY problem. What are you really trying to do? Or do you just have an irrational fondness for \opt? By the way, I expect MacTeX still uses /usr/local/texlive (note the lowercase). – cfr Feb 9 '14 at 0:37
  • 1
    @cfr This is actually my personal preference. I enjoy the FHS layout, thus a subdirectory in /usr/local other than the standard ones looks inelegant for me. Those packages which do not want to break itself into different subdirectories of /usr/local, such as TexLive, should stay in a subdirectory under /opt. I'm not trying to be compliant with FHS, but this part is really my preference, as I managed all my other packages in this way. – xuhdev Feb 9 '14 at 0:51
  • Then you have a few of options. (1) Use another distribution of TeX e.g. macports installs under /opt, I think. (2) I believe you may be able to use the regular TeX Live installer although I am not at all sure about this. I am fairly confident that you used to be able to but, even if I'm right, things may have changed. (3) Compile from source. Note that (2) is probably preferable but you will not, of course, get any of the specifically MacTeX stuff. – cfr Feb 9 '14 at 1:21
  • Yes, you can use the regular TeX Live installer. It just isn't recommended. See the documentation. By the way, on my system /opt is for binary blobs. I think this is fairly common among Linux distros. FHS is not actually something which bears much relation to things on the ground. Of course, you can argue it should... If you really want to keep to FHS, why on Earth are you running Mac OS X in the first place? – cfr Feb 9 '14 at 1:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.