mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 00:43:26 +08:00
tar命令解压时,需要-f指定名字
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
从 [官方页面](https://golang.org/dl/) 或 [国内镜像](http://www.golangtc.com/download) 下载 Go 的源码包到你的计算机上,然后将解压后的目录 `go` 通过命令移动到 `$GOROOT` 所指向的位置。
|
||||
|
||||
wget https://storage.googleapis.com/golang/go<VERSION>.src.tar.gz
|
||||
tar zxv go<VERSION>.src.tar.gz
|
||||
tar -zxvf go<VERSION>.src.tar.gz
|
||||
sudo mv go $GOROOT
|
||||
|
||||
4. 构建 Go
|
||||
|
Reference in New Issue
Block a user