Skip to content

Instantly share code, notes, and snippets.

Last active Mar 29, 2021
What would you like to do?
Go fresh install Ubuntu 18.04

Go install using gvm on fresh Ubuntu instance


Using a fresh Ubuntu 18.04 (latest LTS) install:

# Install prerequisites
sudo apt update
sudo apt install -y bison binutils gcc make

# Install Go using gvm
cd $HOME
bash < <(curl -s -S -L
source $HOME/.gvm/scripts/gvm
gvm install go1.13 -B
gvm use go1.13 --default

You may want to install the golint and goimports tools:

go get -u
go get -u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment