#golang #go #installation
Go Installation in Linux
1. Download Go installation package - https://golang.org
2. Extract Go to the default recommended local (/usr/local) environment - tar -C /usr/local -xzf go1.10.linux-amd64.tar.gz
3. Set the PATH environment variable
4. Create Hello.go
package main
import "fmt"
func main(){
Println("Hello go!")
}
5. To compile,
go build hello.go
6. To Execute,
./hello
Note:- If you want to install Go in your own favourite location, extract the archive to your location and set the environment
variable GOROOT to that location.
export GOROOT=/home/myfolder/go1.10
PATH=$PATH:$GOROOT/bin
Next Video : Installation and Setup on Windows
Watch video Go(golang) Tutorials - Installation and setup on Linux online, duration hours minute second in high quality that is uploaded to the channel Ambasoft Java 08 March 2018. 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 745 times and liked it 11 visitors.