How to install the current version of Go in Ubuntu Precise

前端 未结 17 1934
温柔的废话
温柔的废话 2021-01-29 19:08

Running sudo apt-get install golang-stable, I get Go version go1.0.3. Is there any way to install go1.1.1?

17条回答
  •  一个人的身影
    2021-01-29 19:28

    You can also use the update-golang script:

    update-golang is a script to easily fetch and install new Golang releases with minimum system intrusion

    git clone https://github.com/udhos/update-golang
    cd update-golang
    sudo ./update-golang.sh
    

提交回复
热议问题