Install go on ubuntu 18.04 from terminal

Download and install

wget https://golang.org/dl/go1.14.6.linux-amd64.tar.gz
tar -xvf go1.14.6.linux-amd64.tar.gz
sudo mv go /usr/local

Set path

vi ~/.bashrc

Add the following at the end of the ~/.bashrc file

export GOPATH=$HOME/workexport PATH=$PATH:/usr/local/go/bin:$GOPATH/bin

Then run

source ~/.bashrc

Verify installation

If everything is correct, you will get

jimmy@jimmy-ubuntu:~$ go versiongo version go1.14.6 linux/amd64

--

--

--

Data Scientist/MLE/SWE @takemobi

Love podcasts or audiobooks? Learn on the go with our new app.

A Painfully In-Depth Look At Constructors In Julia

FIVE REASONS BIG SOFTWARE REWRITES FAIL

Dynamic Workforce Scheduling (4)  —  Hardware Requirements

Creating Database in MySQL with Python

Planet Scale database for Windows development: I’m doing it wrong, but it works!

Github aktuell mit Performance Problemen

Github aktuell mit Performance Problemen

5 things I like about SubSquid !

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jimmy Shen

Jimmy Shen

Data Scientist/MLE/SWE @takemobi

More from Medium

How to Part-of-Speech Tag a String of Text in Go

Getting started with GO Programming Language — Part Two

Golang Generate Random Number

Go: then interfaces is not very equal