How to install the current version of Go in Ubuntu Precise

前端 未结 17 2048
温柔的废话
温柔的废话 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:27

    These days according to the golang github with for Ubuntu, it's possible to install the latest version of Go easily via a snap:

    Using snaps also works quite well:

    # This will give you the latest version of go
    $ sudo snap install --classic go
    

    Potentially preferable to fussing with outdated and/or 3rd party PPAs

提交回复
热议问题