dissertation-4-dissertation/Appendix1/appendix1.tex

125 lines
4.2 KiB
TeX
Raw Normal View History

% ******************************* Thesis Appendix A ********************************
2013-12-07 20:40:49 +00:00
\chapter{How to install \LaTeX}
2013-12-07 20:40:49 +00:00
\section*{Windows OS}
2013-11-14 18:51:42 +00:00
2013-12-07 20:40:49 +00:00
\subsection*{TeXLive package - full version}
\begin{enumerate}
\item Download the TeXLive ISO (2.2GB) from\\
\href{https://www.tug.org/texlive/}{https://www.tug.org/texlive/}
\item Download WinCDEmu (if you don't have a virtual drive) from \\
\href{http://wincdemu.sysprogs.org/download/}{http://wincdemu.sysprogs.org/download/}
\item To install Windows CD Emulator follow the instructions at\\
\href{http://wincdemu.sysprogs.org/tutorials/install/}{http://wincdemu.sysprogs.org/tutorials/install/}
\item Right click the iso and mount it using the WinCDEmu as shown in \\
\href{http://wincdemu.sysprogs.org/tutorials/mount/}{http://wincdemu.sysprogs.org/tutorials/mount/}
\item Open your virtual drive and run setup.pl
\end{enumerate}
2013-12-07 20:40:49 +00:00
or
2013-12-07 20:40:49 +00:00
\subsection*{Basic MikTeX - TeX distribution}
\begin{enumerate}
2013-12-08 15:25:21 +00:00
\item Download Basic-MiK\TeX (32bit or 64bit) from\\
\href{http://miktex.org/download}{http://miktex.org/download}
2013-12-07 20:40:49 +00:00
\item Run the installer
\item To add a new package go to Start >> All Programs >> MikTex >> Maintenance (Admin) and choose Package Manager
\item Select or search for packages to install
\end{enumerate}
2013-11-14 18:51:42 +00:00
2013-12-07 20:40:49 +00:00
\subsection*{TexStudio - Tex Editor}
\begin{enumerate}
2013-12-08 15:25:21 +00:00
\item Download TexStudio from\\
\href{http://texstudio.sourceforge.net/\#downloads}{http://texstudio.sourceforge.net/\#downloads}
2013-12-07 20:40:49 +00:00
\item Run the installer
\end{enumerate}
\section*{Mac OS X}
\subsection*{MacTeX - TeX distribution}
\begin{enumerate}
2013-12-08 15:25:21 +00:00
\item Download the file from\\
\href{https://www.tug.org/mactex/}{https://www.tug.org/mactex/}
2013-12-07 20:40:49 +00:00
\item Extract and double click to run the installer. It does the entire configuration, sit back and relax.
\end{enumerate}
\subsection*{TexStudio - Tex Editor}
\begin{enumerate}
2013-12-08 15:25:21 +00:00
\item Download TexStudio from\\
\href{http://texstudio.sourceforge.net/\#downloads}{http://texstudio.sourceforge.net/\#downloads}
2013-12-07 20:40:49 +00:00
\item Extract and Start
\end{enumerate}
\section*{Unix/Linux}
\subsection*{TeXLive - TeX distribution}
\subsubsection*{Getting the distribution:}
\begin{enumerate}
2013-12-08 15:25:21 +00:00
\item TexLive can be downloaded from\\
\href{http://www.tug.org/texlive/acquire-netinstall.html}{http://www.tug.org/texlive/acquire-netinstall.html}.
2013-12-07 20:40:49 +00:00
\item TexLive is provided by most operating system you can use (rpm,apt-get or yum) to get TexLive distributions
\end{enumerate}
\subsubsection*{Installation}
\begin{enumerate}
\item Mount the ISO file in the mnt directory
\begin{verbatim}
mount -t iso9660 -o ro,loop,noauto /your/texlive####.iso /mnt
\end{verbatim}
\item Install wget on your OS (use rpm, apt-get or yum install)
\item Run the installer script install-tl.
\begin{verbatim}
cd /your/download/directory
./install-tl
\end{verbatim}
\item Enter command `i' for installation
2013-12-08 15:25:21 +00:00
\item Post-Installation configuration:\\
\href{http://www.tug.org/texlive/doc/texlive-en/texlive-en.html\#x1-320003.4.1}{http://www.tug.org/texlive/doc/texlive-en/texlive-en.html\#x1-320003.4.1}
\item Set the path for the directory of TexLive binaries in your .bashrc file
\end{enumerate}
\subsubsection*{For 32Bit OS}
2013-12-07 20:40:49 +00:00
For Bourne-compatible shells such as bash, and using Intel x86 GNU/Linux and a default directory setup as an example, the file to edit might be \begin{verbatim}
edit $~/.bashrc file and add 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
\end{verbatim}
2013-12-08 15:25:21 +00:00
\subsubsection*{For 64Bit}
2013-12-07 20:40:49 +00:00
\begin{verbatim}
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
\end{verbatim}
2013-12-08 15:25:21 +00:00
2013-12-07 20:40:49 +00:00
%\subsection{Installing directly using Linux packages}
\subsubsection*{Fedora/RedHat/CENTOS:}
2013-12-08 15:25:21 +00:00
\begin{verbatim}
sudo yum install texlive
sudo yum install psutils
\end{verbatim}
2013-12-07 20:40:49 +00:00
\subsubsection*{SUSE:}
2013-12-08 15:25:21 +00:00
\begin{verbatim}
sudo zypper install texlive
\end{verbatim}
2013-12-07 20:40:49 +00:00
\subsubsection*{Debian/Ubuntu:}
2013-12-08 15:25:21 +00:00
\begin{verbatim}
sudo apt-get install texlive texlive-latex-extra
sudo apt-get install psutils
\end{verbatim}