How to Install Go on Ubuntu 16.04 HD
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/go1.6.linux-amd64.tar.gz 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
") } 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
Похожие видео
Показать еще