Commit 03435099 authored by Russ Cox's avatar Russ Cox

point at how to get easy_install on Ubuntu.

Fixes #59.

Add note about export.

R=r
https://golang.org/cl/152079
parent a174987a
...@@ -71,8 +71,17 @@ In effect, you are always cross-compiling. ...@@ -71,8 +71,17 @@ In effect, you are always cross-compiling.
</p> </p>
<p> <p>
After setting these variables in your <code>.bashrc</code>, double-check them by Set these variables in your <code>.bashrc</code>. For example:
listing your environment. </p>
<pre>
export GOROOT=$HOME/go
export GOARCH=amd64
export GOOS=linux
</pre>
<p>
Double-check them by listing your environment.
</p> </p>
<pre> <pre>
...@@ -142,6 +151,7 @@ $ sudo easy_install mercurial ...@@ -142,6 +151,7 @@ $ sudo easy_install mercurial
</pre> </pre>
<p>works on most systems. <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> 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. <p>Make sure the <code>$GOROOT</code> directory does not exist or is empty.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment