Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to install go in 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
Source by tzusec.com #
 
PREVIOUS NEXT
Tagged: #install #kali #linux
ADD COMMENT
Topic
Name
3+8 =