26 |
\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} |
27 |
|
|
28 |
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. |
29 |
To install \esfinley download the \filename{escript.deb} file and execute the following commands as root (you need to be in the directory containing the file): |
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. |
30 |
|
For example, \filename{escript-3.0-1-lenny_amd64.deb} would be the file for lenny (and intrepid) for 64bit processors. |
31 |
|
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): |
32 |
\begin{shellCode} |
\begin{shellCode} |
33 |
dpkg --unpack escript.deb |
dpkg --unpack escript.deb |
34 |
aptitude install escript |
aptitude install escript |
46 |
|
|
47 |
\subsection{Stand-alone bundle}\label{sec:standalonelinux} |
\subsection{Stand-alone bundle}\label{sec:standalonelinux} |
48 |
|
|
49 |
If there is no package available for your distribution download the generic \linux 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. |
50 |
|
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}. |
51 |
\begin{shellCode} |
\begin{shellCode} |
52 |
tar -xjf escript.tar.bz2 |
tar -xjf escript-support_3.0_i386.tar.bz2 |
53 |
|
tar -xjf escript_3.0_i386.tar.bz2 |
54 |
\end{shellCode} |
\end{shellCode} |
55 |
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 \filename{stand} which contains a stand-alone version of \esfinley and its dependencies. |
56 |
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. |
59 |
stand/escript.d/bin/escript |
stand/escript.d/bin/escript |
60 |
\end{shellCode} |
\end{shellCode} |
61 |
This should give you a normal python shell. |
This should give you a normal python shell. |
62 |
If you wish to save on typing you can add \filename{x/escript.d/bin} to your \texttt{PATH} variable (where x is the absolute path to your install). |
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). |
63 |
|
|