diff options
author | Russ Cox <rsc@golang.org> | 2009-11-11 14:51:53 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-11-11 14:51:53 -0800 |
commit | c310de168c88133a4d1fe2690b8c7e9d16f88699 (patch) | |
tree | 27b0d1cdff6dc34b3346d5365f6830e025cd175c | |
parent | 8d2e4a8c52c477d62eb83af4e715952c59b755ea (diff) | |
download | golang-c310de168c88133a4d1fe2690b8c7e9d16f88699.tar.gz |
point at how to get easy_install on Ubuntu.
Fixes issue 59.
Add note about export.
R=r
http://codereview.appspot.com/152079
-rw-r--r-- | doc/install.html | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/install.html b/doc/install.html index d095cff28..9547b0e60 100644 --- a/doc/install.html +++ b/doc/install.html @@ -71,8 +71,17 @@ In effect, you are always cross-compiling. </p> <p> -After setting these variables in your <code>.bashrc</code>, double-check them by -listing your environment. +Set these variables in your <code>.bashrc</code>. For example: +</p> + +<pre> +export GOROOT=$HOME/go +export GOARCH=amd64 +export GOOS=linux +</pre> + +<p> +Double-check them by listing your environment. </p> <pre> @@ -142,6 +151,7 @@ $ sudo easy_install mercurial </pre> <p>works on most systems. +(On Ubuntu, you might try <code>apt-get install python-setuptools python-dev</code> first.) If that fails, visit the <a href="http://mercurial.selenic.com/wiki/Download">Mercurial Download</a> page.</p> <p>Make sure the <code>$GOROOT</code> directory does not exist or is empty. |