hgbook
diff en/appC-srcinstall.xml @ 604:39b7a21c490b
Drop another dead file
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri Mar 27 10:04:49 2009 -0700 (2009-03-27) |
parents | 13513d2a128d |
children | 1c13ed2130a7 |
line diff
1.1 --- a/en/appC-srcinstall.xml Mon Mar 09 23:37:29 2009 -0700 1.2 +++ b/en/appC-srcinstall.xml Fri Mar 27 10:04:49 2009 -0700 1.3 @@ -7,29 +7,29 @@ 1.4 <sect1 id="sec:srcinstall:unixlike"> 1.5 <title>On a Unix-like system</title> 1.6 1.7 - <para>If you are using a Unix-like system that has a sufficiently 1.8 + <para id="x_5e0">If you are using a Unix-like system that has a sufficiently 1.9 recent version of Python (2.3 or newer) available, it is easy to 1.10 install Mercurial from source.</para> 1.11 <orderedlist> 1.12 - <listitem><para>Download a recent source tarball from <ulink 1.13 + <listitem><para id="x_5e1">Download a recent source tarball from <ulink 1.14 url="http://www.selenic.com/mercurial/download">http://www.selenic.com/mercurial/download</ulink>.</para> 1.15 </listitem> 1.16 - <listitem><para>Unpack the tarball:</para> 1.17 + <listitem><para id="x_5e2">Unpack the tarball:</para> 1.18 <programlisting>gzip -dc mercurial-MYVERSION.tar.gz | tar xf -</programlisting> 1.19 </listitem> 1.20 - <listitem><para>Go into the source directory and run the 1.21 + <listitem><para id="x_5e3">Go into the source directory and run the 1.22 installer script. This will build Mercurial and install it 1.23 in your home directory.</para> 1.24 <programlisting>cd mercurial-MYVERSION 1.25 python setup.py install --force --home=$HOME</programlisting> 1.26 </listitem> 1.27 </orderedlist> 1.28 - <para>Once the install finishes, Mercurial will be in the 1.29 + <para id="x_5e4">Once the install finishes, Mercurial will be in the 1.30 <literal>bin</literal> subdirectory of your home directory. 1.31 Don't forget to make sure that this directory is present in your 1.32 shell's search path.</para> 1.33 1.34 - <para>You will probably need to set the <envar>PYTHONPATH</envar> 1.35 + <para id="x_5e5">You will probably need to set the <envar>PYTHONPATH</envar> 1.36 environment variable so that the Mercurial executable can find 1.37 the rest of the Mercurial packages. For example, on my laptop, 1.38 I have set it to <literal>/home/bos/lib/python</literal>. The 1.39 @@ -43,14 +43,14 @@ 1.40 <sect1> 1.41 <title>On Windows</title> 1.42 1.43 - <para>Building and installing Mercurial on Windows requires a 1.44 + <para id="x_5e6">Building and installing Mercurial on Windows requires a 1.45 variety of tools, a fair amount of technical knowledge, and 1.46 considerable patience. I very much <emphasis>do not 1.47 recommend</emphasis> this route if you are a <quote>casual 1.48 user</quote>. Unless you intend to hack on Mercurial, I 1.49 strongly suggest that you use a binary package instead.</para> 1.50 1.51 - <para>If you are intent on building Mercurial from source on 1.52 + <para id="x_5e7">If you are intent on building Mercurial from source on 1.53 Windows, follow the <quote>hard way</quote> directions on the 1.54 Mercurial wiki at <ulink 1.55 url="http://www.selenic.com/mercurial/wiki/index.cgi/WindowsInstall">http://www.selenic.com/mercurial/wiki/index.cgi/WindowsInstall</ulink>,