2 Installing LaTeX
Krishna Kumar edited this page 2013-12-11 03:24:11 -08:00

Windows OS

LaTeX/TeX Distribution

TeXLive package

  1. Download the TeXLive ISO (2.2GB) from https://www.tug.org/texlive/

  2. Download WinCDEmu (if you don't have a virtual drive) from http://wincdemu.sysprogs.org/download/

  3. To install Windows CD Emulator follow the instructions at http://wincdemu.sysprogs.org/tutorials/install/

  4. Right click the iso and mount it using the WinCDEmu as shown in http://wincdemu.sysprogs.org/tutorials/mount/

  5. Open your virtual drive and run setup.pl

or

Basic MikTeX

  1. Download Basic-MiKTeX (32bit or 64bit) from http://miktex.org/download

  2. Run the installer

  3. To add a new package go to Start >> All Programs >> MikTex >> Maintenance (Admin) and choose Package Manager

  4. Select or search for packages to install

TexStudio - Tex Editor

  1. Download TexStudio from http://texstudio.sourceforge.net/#downloads
  2. Run the installer

Mac OS X

MacTeX - TeX distribution

  1. Download the file from https://www.tug.org/mactex/
  2. Extract and double click to run the installer. It does the entire configuration, sit back and relax.

TexStudio - Tex Editor

  1. Download TexStudio from http://texstudio.sourceforge.net/#downloads
  2. Extract, copy to applications and Start the TeX editor

Unix/Linux

TeXLive - TeX distribution

Getting the distribution:

  1. TexLive can be downloaded from http://www.tug.org/texlive/acquire-netinstall.html
  2. TexLive is provided by most operating system you can use (rpm,apt-get or yum) to get TexLive distributions

Installation

  1. Mount the ISO file in the mnt directory

mount -t iso9660 -o ro,loop,noauto /your/texlive####.iso /mnt

  1. Install wget on your OS (use rpm, apt-get or yum install)

  2. Run the installer script install-tl. cd /your/download/directory ./install-tl

  3. Enter command i for installation

Post-Installation configuration

http://www.tug.org/texlive/doc/texlive-en/texlive-en.html#x1-320003.4.1

  1. Set the path for the directory of TexLive binaries in your .bashrc file

For 32Bit OS

For Bourne-compatible shells such as bash, and using Intel x86 GNU/Linux and a default directory setup as an example, and edit ~/.bashrc file and add the following lines

             PATH=/usr/local/texlive/2011/bin/i386-linux:$PATH; 
             export PATH 
             MANPATH=/usr/local/texlive/2011/texmf/doc/man:$MANPATH;
             export MANPATH 
             INFOPATH=/usr/local/texlive/2011/texmf/doc/info:$INFOPATH;
             export INFOPATH

For 64Bit

             edit $~/.bashrc file and add following lines
             PATH=/usr/local/texlive/2011/bin/x86_64-linux:$PATH;
             export PATH 
             MANPATH=/usr/local/texlive/2011/texmf/doc/man:$MANPATH;
             export MANPATH 
             INFOPATH=/usr/local/texlive/2011/texmf/doc/info:$INFOPATH;
             export INFOPATH