Install Golang and IDE under UBUNTU12

Source: Internet
Author: User
Tags install go
This is a creation in Article, where the information may have evolved or changed. Reference Http://www.golangcn.com/doc/install
Install go to/usr/local

$sudo tar-c/usr/local-xzf go1.1.1.linux-386.tar.gz


Add the following line in the file $HOME/.BASHRC
Export path= $PATH:/usr/local/go/bin
Execute the following line
$source. BASHRC

Below the split line is the official statement, but set up a problem, I still follow the above two steps set
===================================
Add the following line in the file $HOME/.profile
Export path= $PATH:/usr/local/go/bin
Execute the following line
$source. Profile
====================================

Verify
Go version

Installing Liteide
Download https://code.google.com/p/golangide/
$bzip 2-d liteidex19.linux-386.tar.bz2
$tar-XVF Liteidex19.linux-386.tar


Go to the Bin directory to start directly liteide
toolbar to choose your own system platform, mine is linux32
Edit the corresponding configuration file, mine is linux32.env
View through menu-option-liteenv, open linux32.env
Modify the Goroot directory as the installation directory, and the other rows do not change
Goroot=/usr/local/go

Restart Liteide
In the main interface with the shortcut CTRL +, (note that the CTRL key and the comma key) display the execution box, enter Go version, prompts the correct installation is complete

View from menu-Manage Gopath set up project catalog

New Project
Open the window with the file-new menu to create a new project and start programming
Related Article

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.