MacTeX Live 2022 Install Hassels
John Collins
jcc8 at psu.edu
Sun Apr 10 19:38:24 CEST 2022
On 4/10/22 6:46 AM, Marek Stepanek via tex-live wrote:
>
> I am on macOS 12.3.1 MacBook Pro (15-inch, 2018)
> I have a HomeBrew install with ghostscript. All my installs of TeXLive 2022 I left the defaults as they are. Probably here lies my issue?
That actually isn't a problem at all.
I presume you installed TeX Live 2022 by using the generic unix install script
rather than by installing MacTeX-2022. Is that correct?
If so, there's one extra item you need for installation on macOS. This is to
install TeXDist-2022. For details, see
https://tug.org/mactex/mactex-unix-download.html
(This link will probably get modified by the Microsoft mail server to go via a
Microsoft server for security.)
I used this method yesterday, and it worked without any problem. What it does
is first to add the appropriate pointers to TeX Live 2022 in the directories
under /Library/TeX. Then it arranges for TeX Live 2022 to be used in place of
TeX Live 2021. The new installation should be in its default place
/usr/local/texlive/2022.
By the way, at the end of the TeX Live 2022 there is a paragraph about setting
various environment variables. This should be ignored under macOS. It would
be nice if the TeX Live maintainers added a mention of the web page for
macOS-specific differences.)
> I installed TeX-Live 2022, while distribution of 2021 was still present in `/usr/local/texlive`.
That's what's should happen.
> First my $PATH:
>
> ```
> /Users/mstep/Library/Python/3.9/bin
> /usr/local/opt/ruby/bin
> /usr/local/bin
> /usr/local/sbin
> /usr/local/mysql/bin
> /Users/mstep/.vim/filters/text
> /Users/mstep/Library/Python/3.9/bin
>
> /usr/bin
> /bin
> /usr/sbin
> /sbin
> /Library/TeX/texbin
> /Library/Apple/usr/bin
> /Applications/Wireshark.app/Contents/MacOS
> ```
>
> So starting here in /Library/TeX/
>
> ```
> cd /Library/TeX/
> ls -l texbin
> texbin@ -> Distributions/Programs/texbin
> cd Distributions/Programs/
> ls -l texbin
> lrwxr-xr-x 1 root wheel 39B 1 Dec 2018 texbin@ -> ../.DefaultTeX/Contents/Programs/texbin
> cd ../.DefaultTeX/Contents/Programs/
> ll texbin
> lrwxr-xr-x 1 root wheel 9B 2 Apr 2021 texbin@ -> universal
> ll universal
> lrwxr-xr-x 1 root wheel 64B 2 Apr 2021 universal@ -> ../../../../../../../usr/local/texlive/2021/bin/universal-darwin
> ```
>
> Making a general `ls -l` in `/Library/TeX/Distributions/.DefaultTeX/Contents/Programs` revealed many wrong pointers to the now obsolete distribution of TeXLive 2021:
That's the problem that's overcome by the extra step I mentioned above. If you
had used the MacTeX-2022 distribution to install TeX Live 2022, that extra step
wouldn't have been needed. (The apparently excessively indirect symlinks are
there for good reason, but it would take another e-mail to explain why.)
The general recommendation is to use the MacTeX-2022 distribution rather than
the generic Unix installer, unless there are special reasons (e.g., a too-old
version of macOS to be supported by MacTeX-2022).
John Collins
More information about the tex-live
mailing list.