Resurchify

# Installing LaTeX on Ubunu, Windows and Mac

This tutorial provides a complete guide of LaTeX installation/setup/configuration procedure. Just select your operating system and follow the respective instructions step by step. Here, you can find the installation and setup procedure for Ubuntu, Windows, and Mac operating system

You can find various LaTeX editors online for different operating systems. The editors whose installations are discussed here contain almost all the major features that are used for document preparation using LaTeX.

## Select Operating System

You can find a number of distributions online. One commonly used is TeX Live. Steps to install TeX Live are as follows:

1. Use the below command to install Tex Live distribution on ubuntu

sudo apt-get install texlive-full

2. In order to edit a LaTeX document, we require an editor. There are plenty of editors available online. I suggest to use Texmaker, which is a cross-platform supporting editor. Use the below command to install Texmaker on your ubunu system:

 sudo apt-get install texmaker 

3. After complete installation of the texmaker, use the below command to open Texmaker on your Ubuntu system:

 texmaker 

4. In order to create a document by using Texmaker, click on File and then select New. Now, write the following piece of lines in a blank document:

5.  1 2 3 4 \documentclass{article} \begin{document} This is my first latex document! \end{document} 

6. Save your document as a '.tex' file. Click on File -> Save. Inorder to compile your document click on Quick Build arrow.

## Steps to Install LaTeX in Windows

In order to setup LaTeX in your system, you need to download and install the basic version of MiKTeX. MiKTeX manages all the packages and installs the missing packages automatically.

3. Run the MiKTeX Installer for further installation
4. Select I accept the MiKTeX copying conditions and then click Next after carefully reading the copying conditions.
5. Select the scope based of your choice:

1. Install MikTex only for me. (This will set up a private TeX installation.)
2. Install MikTex for anyone who used this computer (all users). This will set up a shared TeX installation.
It is advised to choose the "Install MikTex only for me" option.

6. After scope selection click Next
7. Click Browse to select the installation directory and click Next. You can also proceed with the default directory.
8. Set your preferences and click Next.
9. Review your installation and then click Start in order to start the installation.
10. Installation will begin and will take a few minutes
11. After complete process click on Close in order to exit from the installation wizard.

## Steps to Install LaTeX in Mac

In order to setup LaTeX in your Mac operating system, you need to download and install the MacTeX.

1. Visit http://tug.org/mactex/