How to Install Latex

This wikiHow teaches you how to install a TeX distribution package with all the LaTeX components, using Windows, Mac or Linux. LaTeX is a plain-text document preparation system, which allows you to create documents by using markup tags to...
Method 1 of 3:

Using Windows

  1. How to Install Latex Picture 1How to Install Latex Picture 1
    Open the LaTeX website in your internet browser. Type https://www.latex-project.org into the address bar, and press Return on your keyboard.
  2. How to Install Latex Picture 2How to Install Latex Picture 2
    Click the Get tab. This button is on a tab bar at the top of the page, below the Latex Project logo.
  3. How to Install Latex Picture 3How to Install Latex Picture 3
    Click the blue MiKTeX link under the Windows heading. This will open the MiKTeX website on a new page.
    1. Alternatively, you can click and install one of the other recommended TeX packages in this section. All the recommendations here include LaTeX.
  4. How to Install Latex Picture 4How to Install Latex Picture 4
    Click the Downloads tab. This button is on a yellow tab bar at the top. It will open the download page.
  5. How to Install Latex Picture 5How to Install Latex Picture 5
    Click the blue Download button. This button is at the bottom of the page. It will download the installer to your computer's default folder for downloads.
    1. If you're prompted, select a download location for the installer.
  6. How to Install Latex Picture 6How to Install Latex Picture 6
    Double-click the "basic-miktex.exe" installer file on your computer. This will launch the installation wizard in a new window.
  7. How to Install Latex Picture 7How to Install Latex Picture 7
    Check the
    How to Install Latex Picture 8How to Install Latex Picture 8
    "I accept the MiKTeX copying conditions" box. You have to accept the software terms in order to proceed with the install.
  8. How to Install Latex Picture 9How to Install Latex Picture 9
    Click Next. This will take you to the next step.
  9. How to Install Latex Picture 10How to Install Latex Picture 10
    Select an option on the Installation Scope step. You can choose to install the program for the current user on this computer or all the users.
    1. Click Next to proceed.
  10. How to Install Latex Picture 11How to Install Latex Picture 11
    Click Browse to change installation location (optional). If you want to select a different install location, click this button, and choose where you want to install the software.
    1. Click Next to confirm install location and proceed.
  11. How to Install Latex Picture 12How to Install Latex Picture 12
    Select your paper type in the "Preferred paper" drop-down. Click the drop-down menu, and select the type of paper (A4, Letter, Legal etc) you prefer.
  12. How to Install Latex Picture 13How to Install Latex Picture 13
    Click Next. This will confirm your installation settings, and allow you to review your preferences before starting the install.
  13. How to Install Latex Picture 14How to Install Latex Picture 14
    Click the Start button. It's on the bottom-right corner of the install window. This will start the software installation on your computer.
    1. You can track the installation on a green progress bar here.
  14. How to Install Latex Picture 15How to Install Latex Picture 15
    Click the Close button. When your installation is finished, click this button to close the installation wizard.
Method 2 of 3:

Using Mac

  1. How to Install Latex Picture 16How to Install Latex Picture 16
    Open the Latex website in your internet browser. Type https://www.latex-project.org into the address bar, and press Return on your keyboard.
  2. How to Install Latex Picture 17How to Install Latex Picture 17
    Click the Get tab. It's on a tab bar at the top of the page.
  3. How to Install Latex Picture 18How to Install Latex Picture 18
    Click MacTeX under the Mac OS heading. This will open the official MacTeX distribution page.
    1. Alternatively, you can get the MiKTeX Mac version at https://miktex.org/download.
  4. How to Install Latex Picture 19How to Install Latex Picture 19
    Click the blue MacTeX Download link. This will take you to the download page.
  5. How to Install Latex Picture 20How to Install Latex Picture 20
    Click the blue MacTeX.pkg link. This will download the installation file to your computer's Downloads folder.
  6. How to Install Latex Picture 21How to Install Latex Picture 21
    Double-click the "MacTex.pkg" file on your computer. This will start the installation wizard.
  7. How to Install Latex Picture 22How to Install Latex Picture 22
    Click Next in the installation wizard. This button is in the lower-right corner of the installer window.
    1. Follow the installer's steps, and hit Next a few times until you see the Install button.
  8. How to Install Latex Picture 23How to Install Latex Picture 23
    Click the Install button. When you're on the "Installation Type" step in the installer, click the Install button to install the program on your Mac.
  9. How to Install Latex Picture 24How to Install Latex Picture 24
    Click the Close button. You'll see a message saying "Success" when your installation is complete. Click this button to quit the installer.
Method 3 of 3:

Using Linux

  1. How to Install Latex Picture 25How to Install Latex Picture 25
    Open the MiKTeX website in your internet browser. Type https://miktex.org/download into the address bar, and press Enter or Return on your keyboard.
    1. Alternatively, you can download TeX Live at https://www.tug.org/texlive. This version also includes LaTeX.
  2. How to Install Latex Picture 26How to Install Latex Picture 26
    Click the Downloads tab at the top. You can find it on a yellow tab bar at the top of the page. It will open the available downloads on a new page.
  3. How to Install Latex Picture 27How to Install Latex Picture 27
    Click the Linux tab under the "Getting MiKTeX" heading. You can find the installation command prompts for different Linux versions here.
  4. How to Install Latex Picture 28How to Install Latex Picture 28
    Select your Linux version under the "Install on Linux" heading. You can select Ubuntu, Mint, Debian, Fedora or OpenSUSE.
  5. How to Install Latex Picture 29How to Install Latex Picture 29
    Open the Terminal on your Linux computer. You can use the Terminal to run commands, and install applications on your computer.
  6. How to Install Latex Picture 30How to Install Latex Picture 30
    Copy the "Register GPG key" command from the MiKTeX website. You can find the correct Terminal command for your Linux version on the Downloads page.
  7. How to Install Latex Picture 31How to Install Latex Picture 31
    Paste the "Register GPG key" command to Terminal. You can run this command in Terminal on your computer, and register the GPG key required to install the software.
  8. How to Install Latex Picture 32How to Install Latex Picture 32
    Press Enter or Return on your keyboard. This will run the command, and register the required GPG key.
  9. How to Install Latex Picture 33How to Install Latex Picture 33
    Copy the "Register installation source" command from the website. You can find it below the "Register GPG key" command on the MiKTeX Downloads page.
  10. How to Install Latex Picture 34How to Install Latex Picture 34
    Paste and run the copied command in Terminal. This will register the installation package source on your system.
    1. Press Enter or Return to run the command.
  11. How to Install Latex Picture 35How to Install Latex Picture 35
    Copy the "Install MiKTeX" commands from the MiKTeX website. This will install MiKTeX and all the LaTeX components on your computer. You can find this section at the bottom of the Downloads page.
  12. How to Install Latex Picture 36How to Install Latex Picture 36
    Paste and run the "Install MiKTeX" commands in Terminal. This will install the MiKTeX package on your computer, including all the LaTex components.
    1. Press Enter or Return to run the command.
  13. How to Install Latex Picture 37How to Install Latex Picture 37
    Type and run miktexsetup finish in Terminal. This command will finish your TeX installation with all the LaTeX files and documents.
    1. If you want to finish with a shared (system-wide) TeX installation, use sudo miktexsetup --shared=yes finish instead.
4 ★ | 2 Vote