Homebrew-cask: mactex installs binaries in /Library/TeX/texbin and none are softlinked to /usr/local/bin/

Created on 30 May 2020  ·  6Comments  ·  Source: Homebrew/homebrew-cask

General troubleshooting steps

Description of issue

After installing mactex, it installs all the binaries in /Library/TeX/texbin and none of those binaries are softlinked to /usr/local/bin and the path is not added to the global path.

Command that failed

This command did not fail but it failed to update my global path or failed to softlink the binaries to /usr/local/bin

brew cask install mactex

Output of command with --force --verbose --debug

N/A

Output of brew cask doctor

N/A

Output of brew tap

N/A

Most helpful comment

@nitrocode the MacTex installer should automatically update your PATH:

Screen Shot 2020-05-30 at 09 04 46

and the Cask should definitely not modify this in any way.

If the MacTex installer is not working correctly for you, you should report it to MacTex support.

All 6 comments

@nitrocode FMU the cask simply runs the .pkg provided by MacTeX. We don't select where the .pkg installation puts the files.

Can't we create bin symlinks to each binary?

We don't select where the .pkg installation puts the files.

@nitrocode Usually we don't modify what is intended by the .pkg installer.

Why can't we?

If we cannot do symlinks then we could at least put additional information after the installation to tell the user to update their $PATH variable. I'd prefer if it was automatic but if not, a message would suffice.

@nitrocode the MacTex installer should automatically update your PATH:

Screen Shot 2020-05-30 at 09 04 46

and the Cask should definitely not modify this in any way.

If the MacTex installer is not working correctly for you, you should report it to MacTex support.

Why can't we?

It's not what we do. We try to be unopinionated in these type of things.

Was this page helpful?
0 / 5 - 0 ratings