does come with a version of go (installable through apt go) but it won’t be as up-to-date as downloading it directly. And I know many gophers like using the latest version.
To being we’ll start by downloading the latest version and once downloaded we extract it into a folder we can work with.
wget https://dl.google.com/go/go1.10.2.linux-amd64.tar.gz sudo tar -C /usr/local -xvf go1.10.2.linux-amd64.tar.gz We then need to add some bash variables so Go knows where our work/code directory is located.



Source link

LEAVE A REPLY

Please enter your comment!
Please enter your name here