Install Golang on Ubuntu

From Bonus Bits
Jump to: navigation, search

Purpose

This article gives the steps to install Go Software Language SDK on Ubuntu.


Use Apt (Option 1)

This is the easiest option, but will not install the latest and greatest version of golang.

Install

  1. sudo apt install golang
    

Upgrade

  1. sudo apt upgrade golang
    

Uninstall

  1. sudo apt remove golang
    


Manually (Option 2)

This option will let you get the latest version.

Install

  1. Download from golang
    1. https://golang.org/dl/
    2. i.e. go1.10.1.linux-amd64.tar.gz