How to install the current version of Go in Ubuntu Precise

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

    For the current release of Go:

    The Go Programming Language

    Getting Started

    Download the Go distribution

    Downloads

    Click the link above to visit the Go project's downloads page and select the binary distribution that matches your operating system and processor architecture.

    Official binary distributions are available for the FreeBSD, Linux, macOS, and Windows operating systems and the 32-bit (386) and 64-bit (amd64) x86 processor architectures.

    If a binary distribution is not available for your combination of operating system and architecture you may want to try installing from source or installing gccgo instead of gc.

    Installing Go from source

提交回复
热议问题