/[escript]/trunk/doc/install/binlinux.tex
ViewVC logotype

Diff of /trunk/doc/install/binlinux.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2324 by jfenwick, Thu Mar 19 04:35:30 2009 UTC revision 3335 by jfenwick, Wed Nov 3 05:02:57 2010 UTC
# Line 1  Line 1 
   
1  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2  %  %
3  % Copyright (c) 2003-2008 by University of Queensland  % Copyright (c) 2003-2010 by University of Queensland
4  % Earth Systems Science Computational Center (ESSCC)  % Earth Systems Science Computational Center (ESSCC)
5  % http://www.uq.edu.au/esscc  % http://www.uq.edu.au/esscc
6  %  %
# Line 14  Line 13 
13  \section{Linux binary installation}  \section{Linux binary installation}
14  \label{sec:binlinux}  \label{sec:binlinux}
15    
16  \esfinley can be installed as a stand-alone bundle, containing all the required tools.  \esfinley can be installed as a stand-alone bundle, containing all the required dependencies.
17  Alternatively, if we have a package for your distribution you can use the standard tools to install.  Alternatively, if we have a package for your distribution you can use the standard tools to install.
18    
 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.}.  
 If you need these features you may need to compile \esfinley from source (see Sections~\ref{sec:compilesrc} and \ref{sec:compileescriptlinux}.)  
19    
20  For more information on using the \filename{escript} command please see the User Guide.  For more information on using the \file{run-escript} command please see the User's Guide.
21    
22    If you are using Debian~5.0(``Lenny''), Ubuntu~8.10(``Intrepid Ibex'') or greater, then see Section~\ref{sec:debian}.
23    For other linux distributions refer to Section~\ref{sec:standalonelinux}.
24    
25    \subsection{Debian and Ubuntu}\label{sec:debian}
26    
27  \subsection{Debian 5.0(``Lenny'')}  At the time of this writing we only produce deb's for the i386 and amd64 architectures.
28    The package file will be named \file{escript-X-D_A.deb} where \texttt{X} is the version, \texttt{D} is the distribution codename (eg ``\texttt{lenny}'' or ``\texttt{jaunty}'') and \texttt{A} is the architecture.
29    For example, \file{escript-3.0-1-lenny_amd64.deb} would be the file for lenny for 64bit processors.
30    To install \esfinley download the appropriate \file{.deb} file and execute the following commands as root (you need to be in the directory containing the file):
31    
32  Download the escript.deb file.  \begin{verse}
33  (At time of writing we only produce debs for the i386 architecture.)  \textbf{(For users of Ubuntu~10.10 \textit{``Maverick Meercat''} only)}\\
34  Execute the following commands as root (you need to be in the directory containing the file).  You will need to either install \texttt{aptitude}\footnote{Unless you are short on disk space \texttt{aptitude} is recommended} or replace use \texttt{apt-get} where this guide uses \texttt{aptitude}.
35  \begin{shellCode}  \begin{shellCode}
36   dpkg --unpack escript.deb  sudo apt-get install aptitude
  aptitude install escript  
37  \end{shellCode}  \end{shellCode}
38    \end{verse}
39    
 If you use sudo this would be:  
40  \begin{shellCode}  \begin{shellCode}
41  sudo dpkg --unpack escript.deb  dpkg --unpack escript*.deb
42  sudo aptitude install escript  aptitude install escript
43  \end{shellCode}  \end{shellCode}
44    
45  \subsection{Ubuntu 8.10(``Intrepid Ibex'')}  Installing escript should not remove any packages from your system.
46    If aptitude suggests removing escript, then choose 'N'.
47    It should then suggest installing some dependencies choose 'Y' here.
48    If it suggests removing escript-noalias then agree.
49    
50  Since the installation process for \esfinley is pretty simple you should be able to use the same Lenny package for Ubuntu as well.  If you use sudo (for example on Ubuntu) enter the following instead:
51  Please notify the development team if this is not the case.  \begin{shellCode}
52  Note that you will need to use the ``sudo'' instructions.  sudo dpkg --unpack escript*.deb
53    sudo aptitude install escript
54    \end{shellCode}
55    
56    This should install \esfinley and its dependencies on your system.
57    Please notify the development team if something goes wrong.
58    
59  \subsection{Stand-alone bundle}  \subsection{Stand-alone bundle}\label{sec:standalonelinux}
60    
61  Download the bundle and decompress it.  If there is no package available for your distribution, you may be able to use one of our stand alone bundles.
62    These come in two parts: escript itself (\file{escript_3.2_i386.tar.bz2}) and a group of required programs (\file{escript-support_3.0_i386.tar.bz2}) (Note that the support bundle is version~3.0 not 3.2) . For $64$-bit Intel and Amd processors substitute \texttt{amd64} for \texttt{i386}.
63    This point release uses the same support bundle as previous releases so if you already have it you don't need a new version.
64  \begin{shellCode}  \begin{shellCode}
65  tar -xjf escript.tar.bz2  tar -xjf escript-support_3.0_i386.tar.bz2
66    tar -xjf escript_3.2_i386.tar.bz2
67  \end{shellCode}  \end{shellCode}
68  This will produce a directory called \filename{stand}.  This will produce a directory called \file{stand} which contains a stand-alone version of \esfinley and its dependencies.
69  You can rename or move it as is convienient to you.  You can rename or move it as is convenient to you, no installation is required.
70  Test your installation by running:  Test your installation by running:
71  \begin{shellCode}  \begin{shellCode}
72   stand/escript.d/bin/escript  stand/escript.d/bin/run-escript
73  \end{shellCode}  \end{shellCode}
74  You should get a normal python shell.  This should give you a normal python shell.
75  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).  If you wish to save on typing you can add \file{x/stand/escript.d/bin}\footnote{or whatever you renamed \texttt{stand} to.} to your \texttt{PATH} variable (where x is the absolute path to your install).
   
   
   
76    

Legend:
Removed from v.2324  
changed lines
  Added in v.3335

  ViewVC Help
Powered by ViewVC 1.1.26