/[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 2923 by jfenwick, Thu Feb 4 04:05:36 2010 UTC revision 3322 by jfenwick, Thu Oct 28 05:26:37 2010 UTC
# Line 16  Line 16 
16  \esfinley can be installed as a stand-alone bundle, containing all the required dependencies.  \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, however, that the current binary 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.}.  Please note, however, that the current binary 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.}.
19  If you need these features you may need to compile \esfinley from source (see \Sec{sec:compilesrc} and \Sec{sec:compileescriptlinux}.)  If you need these features you may need to compile \esfinley from source (see Section~\ref{sec:compilesrc} and Section~\ref{sec:compileescriptlinux}.)
20    
21  For more information on using the \filename{run-escript} command please see the User's Guide.  For more information on using the \file{run-escript} command please see the User's Guide.
22    
23  If you are using Debian (5.0 - ``Lenny'') or Ubuntu (8.10-``Intrepid Ibex'', 9.04-``Jaunty Jackalope'') then see \Sec{sec:debian}.  If you are using Debian (5.0 - ``Lenny'') or Ubuntu (8.10-``Intrepid Ibex'', 9.04-``Jaunty Jackalope'') then see Section~\ref{sec:debian}.
24  For Ubuntu 9.10-``karmic koala'' see \Sec{sec:karmic}.  For Ubuntu 9.10-``karmic koala'' see Section~\ref{sec:karmic}.
25  For other Linux distributions refer to \Sec{sec:standalonelinux}.  For other Linux distributions refer to Section~\ref{sec:standalonelinux}.
26    
27  \subsection{Debian 5.0(``Lenny''), Ubuntu 8.10(``Intrepid Ibex'') or 9.04(``Jaunty Jakalope'')}\label{sec:debian}  \subsection{Debian 5.0(``Lenny''), Ubuntu 8.10(``Intrepid Ibex'') or 9.04(``Jaunty Jakalope'')}\label{sec:debian}
28    
29  At the time of this writing we only produce deb's for the i386 and amd64 architectures.  At the time of this writing we only produce deb's for the i386 and amd64 architectures.
30  The package file will be named \filename{escript-X-D_A.deb} where \texttt{X} is the version, \texttt{D} is either ``\texttt{lenny}'' or ``\texttt{jaunty}'' and \texttt{A} is the architecture.  The package file will be named \file{escript-X-D_A.deb} where \texttt{X} is the version, \texttt{D} is either ``\texttt{lenny}'' or ``\texttt{jaunty}'' and \texttt{A} is the architecture.
31  For example, \filename{escript-3.0-1-lenny_amd64.deb} would be the file for lenny (and intrepid) for 64bit processors.  For example, \file{escript-3.0-1-lenny_amd64.deb} would be the file for lenny (and intrepid) for 64bit processors.
32  To install \esfinley download the appropriate \filename{.deb} file and execute the following commands as root (you need to be in the directory containing the file):  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):
33  \begin{shellCode}  \begin{shellCode}
34  dpkg --unpack escript*.deb  dpkg --unpack escript*.deb
35  aptitude install escript  aptitude install escript
# Line 46  Please notify the development team if so Line 46  Please notify the development team if so
46    
47  \subsection{Ubuntu 9.10(``Karmic Koala'')}\label{sec:karmic}  \subsection{Ubuntu 9.10(``Karmic Koala'')}\label{sec:karmic}
48    
49  You will need to download either \filename{escript-noalias-3.1-1-lenny_i386.deb} (for 32bit processors) or \filename{escript-noalias-3.1-1-lenny_amd64.deb} (for 64bit processors).  You will need to download either \file{escript-noalias-3.1-1-lenny_i386.deb} (for 32bit processors) or \file{escript-noalias-3.1-1-lenny_amd64.deb} (for 64bit processors).
50    
51  Type the following in the directory containing the file.  Type the following in the directory containing the file.
52  \begin{shellCode}  \begin{shellCode}
# Line 59  sudo aptitude install escript Line 59  sudo aptitude install escript
59  \subsection{Stand-alone bundle}\label{sec:standalonelinux}  \subsection{Stand-alone bundle}\label{sec:standalonelinux}
60    
61  If there is no package available for your distribution, you may be able to use one of our stand alone bundles.  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 (\filename{escript_3.0_i386.tar.bz2}) and a group of required programs (\filename{escript-support_3.0_i386.tar.bz2}). For $64$-bit Intel and Amd processors substitute \texttt{amd64} for \texttt{i386}.  These come in two parts: escript itself (\file{escript_3.0_i386.tar.bz2}) and a group of required programs (\file{escript-support_3.0_i386.tar.bz2}). For $64$-bit Intel and Amd processors substitute \texttt{amd64} for \texttt{i386}.
63  \begin{shellCode}  \begin{shellCode}
64  tar -xjf escript-support_3.0_i386.tar.bz2  tar -xjf escript-support_3.0_i386.tar.bz2
65  tar -xjf escript_3.0_i386.tar.bz2  tar -xjf escript_3.0_i386.tar.bz2
66  \end{shellCode}  \end{shellCode}
67  This will produce a directory called \filename{stand} which contains a stand-alone version of \esfinley and its dependencies.  This will produce a directory called \file{stand} which contains a stand-alone version of \esfinley and its dependencies.
68  You can rename or move it as is convenient to you, no installation is required.  You can rename or move it as is convenient to you, no installation is required.
69  Test your installation by running:  Test your installation by running:
70  \begin{shellCode}  \begin{shellCode}
71  stand/escript.d/bin/run-escript  stand/escript.d/bin/run-escript
72  \end{shellCode}  \end{shellCode}
73  This should give you a normal python shell.  This should give you a normal python shell.
74  If you wish to save on typing you can add \filename{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).  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).
75    

Legend:
Removed from v.2923  
changed lines
  Added in v.3322

  ViewVC Help
Powered by ViewVC 1.1.26