summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2010-07-30 14:00:59 +1000
committerAndrew Gerrand <adg@golang.org>2010-07-30 14:00:59 +1000
commit146021aabff4269ce4f43a5c9f6a96c794389e9a (patch)
tree4d3094c63be126274e2995ab028b0f0cdad45cf3 /README
parent086f8fd7ca3dd05e5a2df208ddf301652843a0d3 (diff)
downloadgo-146021aabff4269ce4f43a5c9f6a96c794389e9a.tar.gz
misc/builder: support for uploading tarballs to googlecode
R=rsc CC=golang-dev http://codereview.appspot.com/1784042 Committer: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'README')
-rw-r--r--README35
1 files changed, 35 insertions, 0 deletions
diff --git a/README b/README
index e25bbdb8d..aa71c49e9 100644
--- a/README
+++ b/README
@@ -9,3 +9,38 @@ and then visiting http://localhost:6060/doc/install.html.
Unless otherwise noted, the Go source files are distributed
under the BSD-style license found in the LICENSE file.
+
+--
+
+Binary Distribution Notes
+
+If you have just untarred a binary Go distribution, then there are some
+environment variables you'll need to set in your .profile (or equivalent):
+
+ GOOS should be set to your operating system (eg, linux),
+ GOARCH should be your processor architecture (eg, amd64),
+ GOROOT should be the directory you extracted the tarball to,
+ GOBIN should point to $GOROOT/bin.
+
+For example, if you downloaded the tarball
+
+ go.release.YYYY-MM-DD.linux-amd64.tar.gz
+
+and extracted it to
+
+ /home/username/go
+
+you would set the following variables:
+
+ export GOOS=linux
+ export GOARCH=amd64
+ export GOROOT=/home/username/go
+ export GOBIN=$GOROOT/bin
+
+See doc/install.html for more detail about these flags.
+
+Additionally, $GOROOT should be in your $PATH:
+
+ export PATH=PATH:$GOROOT
+
+