• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

Install Go on Linux Mint 19.3

February 9, 2020

Here’s how to install Go on Ubuntu Linux Mint 19.3.

Download the latest from https://golang.org/dl/.

wget https://dl.google.com/go/go1.13.linux-amd64.tar.gz

wget https://dl.google.com/go/go1.13.linux-amd64.tar.gz

Check the checksum.

sha256sum go1.13.linux-amd64.tar.gz

sha256sum go1.13.linux-amd64.tar.gz

Extract the Go tarball to the /usr/local directory.

sudo tar -C /usr/local -xzf go1.13.linux-amd64.tar.gz

sudo tar -C /usr/local -xzf go1.13.linux-amd64.tar.gz

Edit your Bash profile to add Go’s path.

cd ~
vim ~/.profile
# Add Go's path
export PATH=$PATH:/usr/local/go/bin
# Load the profile
source ~/.profile

cd ~ vim ~/.profile # Add Go's path export PATH=$PATH:/usr/local/go/bin # Load the profile source ~/.profile

Check if Go is installed.

go version

go version

Output.

go version go1.13 linux/amd64

go version go1.13 linux/amd64

Filed Under: Linux Tagged With: 19.3, go, golang, install, mint

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023