内容简介:版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u011019726/article/details/77584708
版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/u011019726/article/details/77584708
golang1.5以后实现了自编译,也就是用golang开发golang。因此在安装新版本的golang时需要先安装一个golang1.4版本
安装golang1.4
wget https://storage.googleapis.com/golang/go1.4-bootstrap-20170531.tar.gz tar -xf go1.4-bootstrap-20170531.tar.gz cd go/src ./make.bash 成功后信息 Installed Go for linux/amd64 in /home/test/go Installed commands in /home/test/go/bin mv go go1.4
安装golang1.9
wget https://storage.googleapis.com/golang/go1.9.src.tar.gz tar -xf go1.9.src.tar.gz cd go/src ./all.bash mv go /usr/local/go1.9 vim /etc/profile source /etc/profile export PATH=$PATH:/usr/local/go1.9/bin go version下载安装地址: https://golang.org/doc/install/source?download=go1.9.src.tar.gz
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- Golang入门:从安装、部署以及GoLand的安装开始
- Win2016上安装SFB2015先决条件安装失败:RewriteModule
- mac:Go安装和配置+GoLand安装和使用之完整教程
- Pulsar本地单机(伪)集群 (裸机安装与docker方式安装) 2.2.0
- 如何将Rancher 2.1.x 从单节点安装迁移到高可用安装
- (教科书式教程!)在VMware Workstation 14 上安装CentOS 7 【送安装包】
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Think Python
Allen B. Downey / O'Reilly Media / 2012-8-23 / GBP 29.99
Think Python is an introduction to Python programming for students with no programming experience. It starts with the most basic concepts of programming, and is carefully designed to define all terms ......一起来看看 《Think Python》 这本书的介绍吧!
SHA 加密
SHA 加密工具
UNIX 时间戳转换
UNIX 时间戳转换