MacTeX | Donate | FAQ | Help | TUG
|MacTeX-2022 requires macOS 10.14, 10.15, 11 or 12|
|Mojave, Catalina, Big Sur, or Monterey|
|and runs natively on both Arm and Intel machines.|
|Click the link below to download.
[ approximately 4.7G - 21 March 2022 ]
The MD5 sum is 350380b30bc30e21707152366f8f6e34
The SHA512 sum is ce49ed36a9ce6349bdace55c5dc1d3c93840bbbb07038a9be4b0fd898037dea7eddaaa82c9baa5f 2519cd9232a67c0c80768caccbae2bf26047d937c22ff83a5
Download with Safari strongly recommended
|All install packages are developer-signed and notarized by Apple.|
|While downloading, please skim read the rest of the page.|
|Users who run into trouble often write us without noticing that the solution is on this very page.
All binaries in MacTeX-2022 are universal, with code for both Arm and Intel processors. 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. (Correction: biber is Intel only. Read "What Is Installed" below for details.)
After downloading, move the file MacTeX.pkg to the desktop or another convenient spot, and double click it to install. Follow the straightforward instructions. Installation on a recent Macintosh takes about ten minutes. When installation is complete, go to /Applications/TeX and read the document READ ME FIRST installed there, which explains how to find and use LaTeX. A copy of this document is available here.
The installer presents a Welcome page. Then it presents a ReadMe page with more information. It presents a Software License page, and then a Final Page; clicking the "Install" button on this page will start the actual installation. The final page also has a ''Customize" button, which leads to a panel allowing users to decide which pieces to install: Ghostscript, the Ghostscript Library, the GUI applications, and TeX Live itself. Most users will take the standard installation and ignore "Customize". Users who use MacPorts or HomeBrew may prefer to use the Ghostscript provided by these projects; if so they should use "Customize" to disable Ghostscript installation.
At the end of installation, the installer will report "Success." But sometimes, the installer puts up a dialog saying "Verifying..." and then the install hangs. In all cases known to us, rebooting the Macintosh fixes this problem. After the reboot, install again.
If other problems are reported during installation, skip to the section "Installation Errors" below.
MacTeX writes a symbolic link /Library/TeX/texbin which indirectly points to the TeX Live binary directory. Configure your GUI programs to use this link. The GUI programs we supply will automatically configure themselves.
MacTeX installs TeX Live, the actual TeX Distribution, in /usr/local/texlive/2022. This location is often hidden in the Finder. Typical users access TeX using a "front end", a program providing an editor to enter TeX source and a preview window to view the typeset output. MacTeX installs the front end TeXShop in /Applications/TeX and most people will access TeX using that front end or a similar one.
MacTeX does not overwrite the TeX Distribution from the previous year. Users who run into trouble can switch to the previous distribution until the new distribution is fixed. Long ago we installed a Preference Pane which could do this switching, but this functionality is now in TeX Live Utility, which is in /Applications/TeX. To switch, use the Configure menu item "Select Default TeX Live Version."
MacTeX completely configures TeX, so after installation it is ready to use. Go to "/Applications/TeX/Docs and Spell Utilities/READ ME FIRST.pdf" and read this short document to get started. The location "/Applications/TeX/Docs and Spell Utilities/Documents" also contains "What is installed", which lists all the components of MacTeX and their installation locations.
What Is Installed
MacTeX installs TeX Live, which contains TeX, LaTeX, AMS-TeX, and virtually every TeX-related style file and font. TeX Live is maintained by TeX User Groups across the world. TeX Live is compiled from the same sources for all platforms: Macintosh, Windows, Linux, Unix.
MacTeX also installs the GUI programs TeXShop, LaTeXiT, TeX Live Utility, and BibDesk.
MacTeX installs Ghostscript, an open source version of Postscript. An optional package installs libgs, the dynamical library for Ghostscript. That library is used by only one program in TeX Live, dvisvgm. So it is not installed by default, but can be obtained using the ``custom install'' option in MacTeX.
X11 is an open source windowing system used by Linux machines. 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.1. This is particularly important for users with Arm machines. If you installed MacTeX before upgrading XQuartz, just install the Ghostscript piece again.
The TeX Live programs xdvi, pdfopen, and pdfclose require X11. In addition, the Ghostscript library libgs requires X11 (but notice that dvisvgm is the only TeX Live program using it). 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. On Arm machines, gs points to gs-X11 only if XQuartz 2.8.0 or higher is present.
The author of biber created a universal version with code for both Intel and Arm, but had trouble notarizing the copy as required by Apple. Eventually he succeeded, so when these web pages were written we reported that all binaries are universal. Unfortunately, that universal version didn't make it into TeX Live 2022, and thus is not in MacTeX-2022. So biber only has Intel code, but it runs fine under Rosetta. New Arm machines don't come with Rosetta preinstalled, but when users run a program with Intel code, a dialog appears offering to install Rosetta. That doesn't happen when running command line programs like biber. To install Rosetta in this case, run the following command in Terminal:
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
Sometimes at the end of installation, the installer will report "The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance." In almost all cases, this error is caused by a faulty download. There is an easy way to check this. Go to /Applications/Utilities and run Terminal. Type
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.
If you are still unable to download MacTeX-2022 after trying several specific mirrors, and your md5 sum is always incorrect, there is almost nothing we can do to help. The TeX User Group does not run the distribution servers; they are maintained by an entirely separate organization called CTAN. Complaining to us that your download always fails is a waste of time.
Updating Various Pieces after Installation