# Contents of /branches/3.4/doc/install/debbin.tex

Revision 4469 - (show annotations)
Wed Jun 19 02:49:33 2013 UTC (6 years, 1 month ago) by jfenwick
File MIME type: application/x-tex
File size: 2700 byte(s)
Moving all the packaging stuff

 1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 2 % Copyright (c) 2003-2013 by University of Queensland 3 4 % 5 % Primary Business: Queensland, Australia 6 % Licensed under the Open Software License version 3.0 7 8 % 9 % Development until 2012 by Earth Systems Science Computational Center (ESSCC) 10 % Development since 2012 by School of Earth Sciences 11 % 12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 13 14 15 16 \chapter{Debian/Ubuntu Binary Installation}\label{chap:bin} 17 18 We provide \texttt{.deb} files for the following distributions: 19 20 Debian (i386 or amd64): 21 \begin{itemize} 22 \item $6$ --- \emph{Squeeze} 23 \item $7$ --- \emph{Wheezy} 24 \end{itemize} 25 26 Ubuntu (i386 or amd64): 27 \begin{itemize} 28 \item $12.04$ --- \emph{Precise} Pangolin (LTS) 29 \item $12.10$ --- \emph{Quantal} Queztal 30 \item $13.04$ --- \emph{Raring} Ringtail 31 \end{itemize} 32 33 Two packages make up the \escript system: 34 The main package which contains all system itself and the (optional) documentation package. 35 The main package will be named \file{python-escript-X-D_A.deb} where \texttt{X} is the version, \texttt{D} 36 is the distribution codename (eg \texttt{wheezy}'' or \texttt{precise}'') and \texttt{A} is the architecture. 37 For example, \file{python-escript-3.4-1-precise_amd64.deb} would be the file for Ubuntu $12.04$ for 64bit processors. 38 There is a common documentation for all distributions called \file{python-escript-doc-X_all.deb}. 39 To install \esfinley, download the appropriate \file{.deb} file(s) and execute the following 40 commands as root (you need to be in the directory containing the file): 41 42 \begin{verse} 43 \textbf{(For Ubuntu users)}\\ 44 You will need to either install \texttt{aptitude}\footnote{Unless you are short on disk space \texttt{aptitude} 45 is recommended} or substitute \texttt{apt-get} where this guide uses \texttt{aptitude}. 46 \begin{shellCode} 47 sudo apt-get install aptitude 48 \end{shellCode} 49 \end{verse} 50 51 \begin{shellCode} 52 dpkg --unpack escript*.deb 53 aptitude install python-escript python-escript-doc 54 \end{shellCode} 55 56 Installing escript should not remove any packages from your system. 57 If aptitude suggests removing escript, then choose 'N'. 58 It should then suggest installing some dependencies choose 'Y' here. 59 If it suggests removing \texttt{escript-noalias} then agree. 60 61 If you use sudo (for example on Ubuntu) enter the following instead: 62 \begin{shellCode} 63 sudo dpkg --unpack escript*.deb 64 sudo aptitude install python-escript python-escript-doc 65 \end{shellCode} 66 67 This should install \esfinley and its dependencies on your system. 68 Please notify the development team if something goes wrong. 69