|
|
MacTeX-2026 requires macOS 11, Big Sur, or higher. These systems are named Big Sur (macOS 11), Monterey (macOS 12), Ventura (macOS 13), Sonoma (macOS 14), Sequoia (macOS 15), and Tahoe (macOS 26). It runs natively on both Arm and Intel machines. The same source code is used to compile both types of code, so Apple's Arm and Intel machines are on exactly the same footing. All install packages are developer-signed and notarized by Apple.
Click the link below to download. While downloading, please skim the rest of the page. Users who run into trouble sometimes write us without noticing that the solution is on this very page.
There are two differences between the original release and the new one. First, Ghostscript is released on a different schedule than MacTeX, and very recently the Ghostscript 10.06.0 in the original MacTeX was replaced by Ghostscript 10.07.0. That version is now in MacTeX.
The more important change is related to ConTeXt, a set of macros by Hans Hagen and others. The context macros can be typeset by two different programs called LuaTeX and LuaMetaTeX. LuaTeX is part of the standard TeX Live distribution and often used by authors of LaTeX as a modern replacement for pdfTeX; it remains in the new distribution. But LuaMetaTeX is a special version of the program used just by ConTeXT and unfortunately it is not developer-signed. When Apple notarizes MacTeX, it checks to make sure that all programs are developer-signed and otherwise rejects the entire install package. So we must remove LuaMetaTeX from MacTeX.
When we forcefully remove a binary, we also remove all files dependent on that binary. It turns out that all of ConTeXt depends on LuaMetaTeX. So the entire ConTeXt package is removed from MacTeX.
Luckily, there is an easy fix for ConTeXt users. Programs installed by MacTeX must be developer-signed, but when these programs are later updated by TeX Live Utility, the update occurs over the internet by a mechanism that doesn't require developer signatures. So after installing MacTeX, users should run TeX Live Utility, a program in /Applications/TeX. This program will update all files in TeX Live which have been modified since MacTeX was created. The program will also list files which were forcibly removed, but will not automatically update them. Thus at the top of the list of programs to be updated you will see
arara forcibly removed arara.universal-darwin forcibly removed context forcibly removed context.universal-darwin forcibly removed
To restore ConTeXt, select the two lines above referring to ConTeXt, and then
in the TeX Live Utility "Actions" menu, select Reinstall Selected Packages.
Reinstalling will take a few minutes and you'll be back in business.
X11 is an open source windowing system used by Linux systems. Most Macintosh users can ignore it.
An open source version of X11 called XQuartz is available for the Macintosh. It can be found
here. If you use X11, you should update to the latest version of XQuartz, 2.8.5.
The TeX Live programs xdvi, pdfopen, and pdfclose require X11. Ghostscript comes with two binaries, gs-X11 and gs-noX11, where gs-X11 has support for X11 and gs-noX11 does not. When Ghostscript is first installed, a symbolic link named gs is created in /usr/local/bin. If X11 is present, gs points to gs-X11; otherwise it points to gs-noX11.
If you are having trouble downloading MacTeX, note that the download link
points to a "multiplexer" site which parcels out requests to various up-to-date CTAN mirrors. Occasionally users have trouble getting the package from this multiplexer. In that case, choose a specific mirror on this mirror page.
MacTeX is a very large package. If your network is noisy, you might want to try downloading
and installing BasicTeX. See Smaller Download.
BasicTeX is very much smaller, and yet has most files, fonts, and programs to process TeX,
so this is a rapid way to get a working TeX. BasicTeX need not be uninstalled before
installing MacTeX, so once you convince yourself that our packages work, you can return to the
main task of installing MacTeX. TUG strongly recommends the full MacTeX for most users, including
beginners,
The installer first writes a large number of packages to /usr/local/texlive/2026. Then it runs a postinstall script which configures the distribution. The installer reports the moment when the script first starts running. If the script run takes longer than ten minutes, Apple aborts the installation and reports an error.
The installer's "Window" menu offers to show a Log of the installation. If your computer is slow, it is not a good idea to show this window during installation, because writing the items takes up part of those allotted ten minutes. But after installation ends, the Log window can be opened. The 10-minute error would be reported in a line near the end of the log file, which reads
Terminating PKInstall Task. Task has exceeded its 600 seconds of runtime.
By the time this error occurs, the installation has been completely set up and some final scripts are running. You can finish these final tasks yourself. Find the "Terminal" program in /Applications/Utilities and run it. Enter each line below in Terminal, pushing RETURN after the line is complete. Since Unix is picky about syntax, it is easiest to copy the lines from the display below. When you are done, MacTeX-2026 is fully configured and ready to use.
sudo /usr/local/texlive/2026/bin/universal-darwin/mktexlsr sudo /usr/local/texlive/2026/bin/universal-darwin/updmap-sys sudo /usr/local/texlive/2026/bin/universal-darwin/fmtutil-sys --missing sudo /usr/local/texlive/2026/bin/universal-darwin/mktexlsr
In one known case, a machine was so slow that even the setup material was not finished after ten minutes, so the above solution failed. Users who run into that case should click the following link to display the indicated tar.gz file: postinstall2026.tar.gz. Drag a copy of this file to a new folder on your desktop, open that folder, and double click the file to decompress it. Then open Terminal, change to the new folder you created, and type
sudo sh postinstall2026.sh
|
Happy TeXing on macOS ! |
|
Donate |