Golang Ubuntu Installation Notes

Source: Internet
Author: User
This is a created article in which the information may have evolved or changed.

1. Download the Go installer package for the platform from Http://www.golangtc.com/download, I choose go1.5.1.linux-amd64.tar.gz

2. Copy the installation package to the/usr/local/directory

sudo cp go1.5.1.linux-amd64.tar.gz/usr/local

3. Go to the/usr/local/directory and unzip the file go1.5.1.linux-amd64.tar.gz

sudo tar xf go1.5.1.linux-amd64.tar.gz
</pre>4. Added at the end of the/etc/profile file: <p></p><p></p><pre name= "code" class= "HTML" > #go Configurationexport goroot=/usr/local/go  //go installation directory export GOARCH=AMD64//          System CPU Architecture Export Goos=linux            // Operating system type Export GOPATH=/HOME/LHW/WWW  

Then save and exit and restart your computer.

Installing Gosublime





Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

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.