# Contents of /trunk/doc/install/binlinux.tex

Revision 2529 - (show annotations)
Thu Jul 9 06:06:35 2009 UTC (10 years ago) by jfenwick
File MIME type: application/x-tex
File size: 2730 byte(s)
Some changes to the install guide.
More work to do.

 1 2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 3 % 4 % Copyright (c) 2003-2008 by University of Queensland 5 % Earth Systems Science Computational Center (ESSCC) 6 7 % 8 % Primary Business: Queensland, Australia 9 % Licensed under the Open Software License version 3.0 10 11 % 12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 13 14 \section{Linux binary installation} 15 \label{sec:binlinux} 16 17 \esfinley can be installed as a stand-alone bundle, containing all the required tools. 18 Alternatively, if we have a package for your distribution you can use the standard tools to install. 19 20 Please note, the current packages do not support \openmp\footnote{This is due to a bug related to gcc 4.3.2.} or \mpi\footnote{Producing packages for MPI requires knowing something about your computer's configuration.}. 21 If you need these features you may need to compile \esfinley from source (see Sections~\ref{sec:compilesrc} and \ref{sec:compileescriptlinux}.) 22 23 For more information on using the \filename{escript} command please see the User Guide. 24 25 If you are using Debian then see Section~\ref{sec:lenny}. 26 If you are using Debian (5.0 - Lenny'') or Ubuntu (8.10-Intrepid Ibex'', 9.04-Jaunty Jakalope'') then see Section~\ref{sec:lenny} 27 If you are using some other distribution of Linux, see Section~\ref{sec:standalonelinux} 28 29 30 \subsection{Debian 5.0(Lenny'')}\label{sec:lenny} 31 32 Download the \filename{escript.deb} file. 33 (At time of writing we only produce debs for the i386 architecture.) 34 Execute the following commands as root (you need to be in the directory containing the file). 35 \begin{shellCode} 36 dpkg --unpack escript.deb 37 aptitude install escript 38 \end{shellCode} 39 40 If you use sudo this would be: 41 \begin{shellCode} 42 sudo dpkg --unpack escript.deb 43 sudo aptitude install escript 44 \end{shellCode} 45 46 \subsection{Ubuntu 8.10(Intrepid Ibex''), 9.04(Jaunty Jakalope'')} 47 48 Since the installation process for \esfinley is pretty simple you should be able to use the Debian package for Ubuntu as well. 49 Please notify the development team if this is not the case. 50 Note that you will need to use the sudo'' instructions. 51 52 53 \subsection{Stand-alone bundle}\label{sec:standalonelinux} 54 55 Download the bundle and decompress it. 56 \begin{shellCode} 57 tar -xjf escript.tar.bz2 58 \end{shellCode} 59 This will produce a directory called \filename{stand}. 60 You can rename or move it as is convienient to you. 61 Test your installation by running: 62 \begin{shellCode} 63 stand/escript.d/bin/escript 64 \end{shellCode} 65 You should get a normal python shell. 66 If you wish to save on typing you can add \filename{x/escript.d/bin} to your PATH variable (where x is the absolute path to your install). 67 68 69 70