Installation

Updated: September 28, 2024

Steps of how to install go.


LINUX

Arch/Manjaro

sudo pacman -S go

Tarball

Download tarball run as root for this session

sudo -s

then

tar -C /usr/local -xzf ~/Downloads/go1.12.6.linux-amd64.tar.gz
# or whatever version it was downloaded

then go needs to be added to your path environment

PATH:$PATH:/usr/local/go/bin

Close terminal relaunch new session

While at ~

mkdir go
cd go
mkdir src
cd src
mkdir hello
cd hello
vim .