Skip to content

Commit 0fe4394

Browse files
committed
从源码安装,目录说明
1 parent 4fd4d1d commit 0fe4394

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1.1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Linux系统用户可通过在Terminal中执行命令`uname -a`来查看系统信
6565

6666
首先你必须安装了hg工具,然后执行如下代码:
6767

68-
假设目前在当前用户的`home`目录下
68+
假设已经位于Go的安装目录 `$GO_INSTALL_DIR`
6969

7070
hg clone -u release https://code.google.com/p/go
7171
cd go/src
@@ -75,7 +75,7 @@ Linux系统用户可通过在Terminal中执行命令`uname -a`来查看系统信
7575

7676
上面写的是Unix风格的,Windows下安装方式类似,只不过是运行all.bat,调用的编译器是MinGW的 gcc。
7777

78-
然后设置PATH,`export PATH=$PATH:$HOME/go/bin`
78+
然后设置PATH,`export PATH=$PATH:$GO_INSTALL_DIR/go/bin`
7979

8080
看到如下图片说明已经安装成功
8181

0 commit comments

Comments
 (0)