Go

The newer parts of GitLab are written in Go (sometimes called Golang). These parts have been in GitLab since version 8.0, so we need this language compiler too in order to run newer versions of GitLab. It is best to download the latest version of Go here: https://golang.org. After download make sure the checksum is correct (for the linux-amd64 page  for go 11.10 it is aefaa228b68641e266d1f23f1d95dba33f17552ba132878b65bb798ffa37e6d0. We install it in the /usr/local/bin location:

$ wget https://dl.google.com/go/go1.11.10.linux-amd64.tar.gz
$ shasum -a256 go1.11.10.linux-amd64.tar.gz
aefaa228b68641e266d1f23f1d95dba33f17552ba132878b65bb798ffa37e6d0 go1.11.10.linux-amd64.tar.gz

$ sudo tar -C /usr/local -xzf go1.11.10.linux-amd64.tar.gz
$ sudo ln -sf /usr/local/go/bin/{go,godoc,gofmt} /usr/local/bin/
$ rm go1.11.10.linux-amd64.tar.gz

$ go version
go version go1.11.10 linux/amd64

Currently, Go supports eight different hardware instructions sets, so you have some choice. You can find downloads for platforms other than 64-bit Linux on the Go download page, which is located at https://golang.org/dl/.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.40.177