Julio's Blog


How to run Go 1.5 on CentOS 7.

In the previous post we installed Go on CentOS 7. There is an small problem by doing that, the latest version on the repos for Go is 1.4. In this post I will show how to install Go 1.5 using the binaries. This is a manual procedure and there are other ways to achieve this. Downloading binaries [[email protected] tmp]# wget https://storage.googleapis.com/golang/go1.5.linux-amd64.tar.gz Extract the binaries to /usr/local/go: [[email protected] tmp]# tar -C /usr/local -xzf /tmp/go1.5.linux-amd64.tar.gz Now we will create the We create symbolic links (you can also... read more »


Installing Go (GoLang) on CentOS 7.

In this post, I will show how to install the Go programming language (GoLang) on CentOS 7. This procedure is quite simple and requires only a few commands. Install the packages: [[email protected] ~]# yum install golang golang-godoc golang-vet golang-src golang-pkg-linux-amd64 -y After this we check that the go command could be call and is working: [[email protected] ~]# go version go version go1.4.2 linux/amd64 Hello world! on Go: Now we will try to compile and verified Go, to do this we will create a file, name it hello.go and put a sample "hello world" program on it. To do this: [[email protected] ~]# cat... read more »