annotate es/srcinstall.tex @ 779:69923723e7f9

more hook.tex
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Mon, 27 Apr 2009 17:31:54 +0900
parents be1c884e2aef
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
572
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
1 \chapter{Instalar Mercurial desde las fuentes}
501
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
2 \label{chap:srcinstall}
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
3
572
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
4 \section{En un sistema tipo Unix}
501
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
5 \label{sec:srcinstall:unixlike}
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
6
572
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
7 Si usa un sistema tipo Unix que tiene una versión suficientemente
620
d833640150e2 corrected some more parentheses related typos
Javier Rojas <jerojasro@devnull.li>
parents: 572
diff changeset
8 reciente de Python (2.3~o superior) disponible, es fácil instalar
572
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
9 Mercurial desde las fuentes.
501
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
10 \begin{enumerate}
572
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
11 \item Descargue un paquete fuente reciente de
501
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
12 \url{http://www.selenic.com/mercurial/download}.
572
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
13 \item Descomprímalo:
501
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
14 \begin{codesample4}
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
15 gzip -dc mercurial-\emph{version}.tar.gz | tar xf -
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
16 \end{codesample4}
572
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
17 \item Vaya al directorio fuente y ejecute el guión de instalación.
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
18 Esto armará Mercurial y lo instalará en su directorio casa:
501
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
19 \begin{codesample4}
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
20 cd mercurial-\emph{version}
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
21 python setup.py install --force --home=\$HOME
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
22 \end{codesample4}
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
23 \end{enumerate}
572
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
24 Cuando termine la instalación, Mercurial estará en el subdirectorio
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
25 \texttt{bin} de su directorio casa. No olvide asegurarse de que este
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
26 directorio esté presente en el camino de búsqueda de su intérprete de
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
27 órdenes.
501
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
28
572
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
29 Probablemente necesitará establecer la variable de ambiente
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
30 \envar{PYTHONPATH} de tal forma que los ejecutables de Mercurial
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
31 puedan encontrar el resto de los paquetes de Mercurial. Por ejemplo,
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
32 en mi portátil, la establecía a \texttt{/home/bos/lib/python}. La
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
33 ruta exacta que usted use dependerá de como ha sido construído Python
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
34 en su sistema, pero debería ser fácil deducirla. Si no está seguro,
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
35 mire lo que haya mostrado el script en el paso anterior, y vea dónde
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
36 se instalaron los contenidos del directorio \texttt{mercurial} se
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
37 instalaron.
501
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
38
572
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
39 \section{En Windows}
501
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
40
572
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
41 Armar e instalar Mercurial en Windows requiere una variedad de
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
42 herramientas, cierta suficiencia técnica y paciencia considerable.
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
43 Personalmente, \emph{no le recomiendo} hacerlo si es un ``usuario
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
44 casual''. A menos que intente hacer hacks a Mercurial, le recomiendo
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
45 que mejor use un paquete binario.
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
46
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
47 Si está decidido a construir Mercurial desde las fuentes en Windows,
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
48 siga el ``camino difícil'' indicado en el wiki de Mercurial en
501
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
49 \url{http://www.selenic.com/mercurial/wiki/index.cgi/WindowsInstall},
572
1b8b19825994 finished translation of assigned chapters to ikks
Igor Támara <igor@tamarapatino.org>
parents: 501
diff changeset
50 y espere que el proceso sea realmente un trabajo duro.
501
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
51
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
52 %%% Local Variables:
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
53 %%% mode: latex
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
54 %%% TeX-master: "00book"
b05e35d641e4 Copying the files from en to es and taking intro chapter
Igor TAmara <igor@tamarapatino.org>
parents: 432
diff changeset
55 %%% End: