How to install the current version of Go in Ubuntu Precise

前端 未结 17 2069
温柔的废话
温柔的废话 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条回答
  •  Happy的楠姐
    2021-01-29 19:22

    If someone is looking for installing Go 1.8 the follow this:

    sudo add-apt-repository ppa:longsleep/golang-backports
    sudo apt-get update
    sudo apt-get install golang-go
    

    And then install go

    sudo apt-get install golang-1.8-go
    

提交回复
热议问题