Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 571 Bytes

ubuntu.md

File metadata and controls

41 lines (29 loc) · 571 Bytes

Ubuntu Setup

Install build tools

# update ubuntu
> sudo apt-get update

# install make
> sudo apt-get install build-essential

# install gcc
> sudo apt-get install cmake gcc

Install Go

x86

> wget https://golang.org/dl/go1.15.8.linux-amd64.tar.gz
> tar -C /usr/local -xzf go1.15.8.linux-amd64.tar.gz

Setup paths in .profile

> vi .profile
export GOPATH=$HOME/go
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin

Verify Go was installed and paths were set correctly

> go version
> echo $GOPATH