版权声明:转载请注明出处:http://blog.csdn.net/dajitui2024 https://blog.csdn.net/dajitui2024/article/details/79396656
1、本机kali,
2、操作步骤
sudo apt-get update
sud apt-get dist-upgrade -y
#升级更新,并且自动解决包的替换问题
wget https://storage.googleapis.com/golang/go1.4.1.linux-amd64.tar.gz
tar -xzf go1.4.1.linux-amd64.tar.gz -C /usr/local
echo 'export PATH=$PATH:/usr/local/go/bin' >> /etc/profile
go version
#验证