Ubuntu Install Go/Golang

sudo apt update
sudo apt upgrade -y
sudo apt install -y golang-go
package mainimport "fmt"func main() {
fmt.Println("hello world")
}
go run test.go
go version

--

--

--

A software engineer, a rock climbing, inline skating enthusiast, a husband, a father.

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

Recommended from Medium

Golang: Monitors and Mutexes, A (light) Survey

HOW TO CREATE, COMMIT AND PUSH README.md FILE USING LINUX TERMINAL

AMA Recap: CRYPTO MINERS X DROPP

Quickly Becoming a Professional

Nyacademy: Unrugged // How Yield Farming Contract Works

A Simple Guide to Making Websites with Bootstrap 4 (pt V) 🌗

Be a better production bug fixer by avoiding these 4 bad decisions

Coding for Stock Traders in the GameStop Era

Photo of stock charts

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
Kevin FOO

Kevin FOO

A software engineer, a rock climbing, inline skating enthusiast, a husband, a father.

More from Medium

Installing or Updating Go(Golang) on Linux

How to use gorilla/mux

Learning Go: Super Simple HTTP Server

How to Connect PostgreSQL Database with Golang