-
Notifications
You must be signed in to change notification settings - Fork 50
/
README
44 lines (28 loc) · 1.41 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Recording is available at https://www.youtube.com/watch?v=MeOK1UzGHYw
Hello LCA 2015 tutorial-goer!
First, if you use Windows, I'm sorry; this should work, but you'll have to
modify the directions for your setup. I haven't tested on Windows.
To prepare for this tutorial, please:
1. Open up your favorite shell (bash/zsh/fish)
2. cd to the directory you copied from the USB stick (gostick/)
3. ls packages/ and pick the one that is best for you, they should be named
in a relatively straightforward fashion.
4. Untar the selected package into the gostick/ dir, like:
username:~/gostick$ tar -zxvf packages/go1.2.linux-amd64.tar.gz
Now, if you "ls -l", you should see something like this:
-rwxr-xr-x 1 marksmith staff 120 Jan 3 22:52 bash.sh
-rwxr-xr-x 1 marksmith staff 118 Jan 3 22:52 fish.sh
drwxr-xr-x 20 marksmith staff 680 Jan 3 22:50 go
drwxr-xr-x 3 marksmith staff 102 Jan 3 22:51 helloworld
drwxr-xr-x 12 marksmith staff 408 Jan 3 22:46 packages
...
It's important that you untar the tarball from packages/ so that it ends
up in the go/ directory.
5. Source the right file for your shell ("source bash.sh" etc)
6. Verify go works, type "go", and you should see:
username:~/gostick$ go
Go is a tool for managing Go source code.
...
7. If the worst happens, ask a neighbor and/or ask for help so that you
are with us as we move along. :-)
--Mark