How to Install Go on Ubuntu 16.04

Published: 05 July 2016
on channel: NixInPix
3,512
22

Go is a modern programming language developed at Google. It is increasingly popular for many applications and at many companies, and offers a robust set of libraries. It is a compiled, statically typed language in the tradition of Algol and C, with garbage collection, limited structural typing, memory safety features and CSP-style concurrent programming features added.

Commands:
cd ~
curl -O https://storage.googleapis.com/golang...
tar xvf go1.6.linux-amd64.tar.gz
sudo chown -R root:root ./go
sudo mv go /usr/local
sudo nano ~/.profile
source ~/.profile

Test:
mkdir $HOME/work
mkdir -p work/src/github.com/user/hello
nano ~/work/src/github.com/user/hello/hello.go
package main

import "fmt"

func main() {
fmt.Printf("hello, world\n")
}

go install github.com/user/hello
hello
which hello
----------------------

music by Jeff Kaale: soundcloud.com/jeff-kaale
Instagram : www.instagram.com/jeffkaale/


You can always Deploy an SSD cloud server in 55 seconds
with Digitalocean.
Anyone how use this link will receive $10 in hosting credit immediately after unlocking their account by adding a valid payment method.
Sign Up with this link
https://m.do.co/c/7b9082af029f


Watch video How to Install Go on Ubuntu 16.04 online, duration hours minute second in high quality that is uploaded to the channel NixInPix 05 July 2016. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 3,512 times and liked it 22 visitors.