BOOK THIS SPACE FOR AD
ARTICLE ADInstructions to Install Go Lang on Ubuntu Server :
▶ Visit : https://golang.org/dl/
▶ Download : wget https://golang.org/dl/go1.16.5.linux-amd64.tar.gz
▶ Extract : rm -rf /usr/local/go && tar -C /usr/local -xzf go1.16.5.linux-amd64.tar.gz
▶ Open : nano ~/.bashrc
▶ Add :
GOPATH=/root/go-workspace
export GOROOT=/usr/local/go
PATH=$PATH:$GOROOT/bin/:$GOPATH/bin
▶ Run : source ~/.bashrc
▶ Check : go version
Note : There may be updated go version in future, so use that and above shown paths may be different for you, so please work accordingly.
Thank You..!!
Ping us on Instagram : https://www.instagram.com/Infosec97/
Subscribe to us :