Get Bonus

Installing Go Language on Linux Mint



Yesterday when looking for references about Google Cloud Message pilot project for me, inadvertently found something very interesting in Google Developers page of the "App Engine" .I found a few list logo several programming languages, one of which bernamakan Go as shown below ,

Go language itself is used by Google on the Google App Engine platform in addition to practical Go Lang itself can be compiled in a computer architecture for example:

Linux 32 bit / 64 bit,
Arm. etc.

What it Go?

Go is a programming language that is easy, simple, reliable, efficient, and certainly sajaopen source. A programming language is required by today's modern world. Built by internet giant Google and was first introduced in November 2009. The purpose of the Go programming language are:

Safe (type-safe and memory-safe),
Both in support for concurrency and communication,
Fast in the compilation,
Efficient (approaching the performance of the C programming language in terms of the division of tasks CPU),
Designed for modern hardware (multicore, networking, etc.),
Powerful software (such as for a web server),
Being a programming language commonly used in making applications.
Excess Go programming language is open source. This is the plus value of the programming language Go, all development is open and a lot of contributors from around the world for the betterment of this Go programming language.

Well for installation like what the heck ... Cekidot

Download the first packagenya https://golang.org/dl/ and select Os that you pakek, ane pakek Because Linux (both Open Source it: D) ​​I will give you the stages pakek Linux.
 Once downloaded extract the file in the home directory and then make a path so that can be open to the public was istilahnhya. open the editor kesayanaganmu, sehubung ane pakek sublime so yes the picture depanya subl example in the image using a terminal with the command

 root@root# nano     /etc/profile


2.Then add the code as below and save

export PATH=${PATH}:/home/halim/Appku/go/bin

3.Reload  Go can arise when in Terminal with the command :

halim@halim_xda ~ $ . /etc/profile

4.Then try to check in Terminal by typing wrote Go the results as shown below



Okay now it works: D Go Language already installed.

Now we try to make a simple program to facilitate the ngoding now we can use the IDE or can call Software Development is one of them we can use the Eclipse Plugin GoLang or InteliJ Jetbrain or could pakek Notepad only.

Example displays Hello World on terminal

package main

import "fmt"

func main() {
fmt.Printf("hello batch 9\n")
}




Previous
Next Post »