cara menginstal go di kali linux

# Download the latest version for Linux from "https://golang.org/dl/"
# Open your terminal and navigate to your downloads folder 
cd /root/Downloads
# Extract the files "x.xx.x represents the version"
tar -C /usr/local/ -xzf gox.xx.x.linux-amd64.tar.gz
# Add variables for GO by modifying “~/.bashrc”
vim ~/.bashrc
# Add the following paths to the end of the file
export GOPATH=/root/go-workspace
export GOROOT=/usr/local/go
PATH=$PATH:$GOROOT/bin/:$GOPATH/bin
# Then refresh the bashrc to get the updated variables
source ~/.bashrc
Azzeinberg