I updated MacTex to the 2019 version
But when I run latex --version it says I am using the old 2017 version that was previously installed
How do I get it to use the latest install?
I updated MacTex to the 2019 version
But when I run latex --version it says I am using the old 2017 version that was previously installed
How do I get it to use the latest install?
MacTeX doesn't support upgrading in place between versions (2017, 2019 etc.). To really upgrade, you can uninstall the old version and install the most up-to-date version afterwards. How to uninstall MacTeX can be found at https://www.tug.org/mactex/uninstalling.html.
On the other hand, if you have installed 2 year-versions at the same time, you can choose which one is the active one by opening Tex Live Utility, choosing "configure" in the top bar, and choosing "change default TeX Live version".
latex --version it still prints 2017. so now I have no idea which version it is using.
– invictus
Apr 04 '20 at 23:14
/Users/Name/.rvm/gems/ruby-2.3.1/bin:/Users/Name/.rvm/gems/ruby-2.3.1@global/bin:/Users/Name/.rvm/rubies/ruby-2.3.1/bin:/usr/local/anaconda3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/Users/Name/.rvm/bin
– invictus
Apr 04 '20 at 23:26
ruby stuff. In my case, apart from leading to errors, it slowed down the compilation by an insane amount.
–
Apr 04 '20 at 23:45
/Library/TeX/texbin to your PATH so the TeX Live installed by MacTeX is found before whatever the other one is.
– Herb Schulz
Apr 05 '20 at 15:44
I found that a simpler way to uninstall MacTex was using Homebrew (even if you haven’t originally installed MacTex with it). Do this:
brew uninstall --zap --force mactex
Update: I figured out the that only way to get latex --version to use the latest version of MacTeX is to delete the old version. So unlike what MacTeX says on their site, you can't have multiple versions and expect everything to work fine.