This article is based on "go WEB programming", gradually learn the Ubuntu environment Go installation notes.
The URL address of Go WEB programming is as follows:
Https://github.com/astaxie/build-web-application-with-golang/blob/master/ebook/preface.md
Ubuntu installs the go language, the necessary things are: GCC, go language. GCC download and installation here does not make a statement, the students need to find their own.
To download the go, you can download it from the following address:
Http://www.golangtc.com/download
My system is 64-bit, so choose to download go1.4rc1.linux-amd64.tar.gz. The latest version of the current is 1.4RC1.
Go has a variety of installation options and you can choose what you like. Here we introduce three of the most common installation methods:
- Go source installation: This is a standard way to install software. For users who frequently use Unix-like systems, it is most convenient and familiar for developers to install from the source code.
- Go Standard Pack Installation: Go provides a convenient installation package that supports Windows, Linux, Mac and other systems. This method is suitable for beginners, can download the corresponding installation package according to the number of their own system, the next can be easily installed.
- Third-party tool installation: There are many convenient third-party package tools, such as Ubuntu Apt-get, Mac Homebrew, and so on. This type of installation is suitable for users who are familiar with the appropriate system.
Finally, if you want to install multiple versions of Go on the same system, you can refer to the third-party tool GVM, which is the best tool to do this right now, unless you know how to handle it.
Three kinds of installation methods can be, specifically, please refer to the article content step-by-step to be able.
Installation notes for go in the Ubuntu environment