/usr : 系统软件安装目录/usr/local : 用户软件安装目录/opt : 大型软件安装目录Copy the Code
终端下命令(移动):sudo mv go /usr/local或者命令(拷贝):sudo cp -r go /usr/localCopy the Code
终端下命令:vim ~/.bashrc 或者 vim ~/profileCopy the Code
export GOROOT="/usr/local/go"export GOPATH="/go"export PATH=$PATH:/usr/local/go/binCopy the Code
source ~/.bashrc 或者 source ~/profile
go versionCopy the Code
Featured Collection
Popular Ranking
Popular Events
2. 解压安装Go
3. Go环境变量配置
【玩转deepin】在deepin上搭建Go开发环境