Installation notes for go in the Ubuntu environment

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.