Posts

Showing posts from 2016

Installing Golang : The fast way

Steps only for Ubuntu. Other OS quick installation guide coming up soon! So, this article is useful when you are in hurry and obviously, want to trust me :) There are basically two ways to install golang - one is using the classical apt-get method and the other one is installing from source. he First method     $ sudo apt-get update     $ sudo apt-get install golang This will pretty much do the thing. Just two commands. You can verify the installation just by checking this:     $ go env GOROOT This command will output the directory name where go is installed. Usually, it will show /usr/lib/go. You can check go version:     $ go version     go version go1.5.1 linux/amd64 You are set to use golang. Please don't forget to configure $GOPATH and $GOBIN directories explained below.  Note: This method will install go version which is included in os package. If you need to install particular version o...