go

Go can be used as a package management.

On Ubuntu

sudo snap install go --classic

When installing packages with Go from GitHub, we need to set the environment variables to our environment to be able to run commands

export GOPATH=$HOME/gocode

# This set 
  export PATH=$PATH:$GOPATH/bin

Last updated