Created
May 30, 2016 22:41
-
-
Save lukebeer/0bd309a3972b5ad0b149ee232c0065c0 to your computer and use it in GitHub Desktop.
Install google go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz -O - | tar -zxf - -C /usr/local | |
mv /usr/local/go /usr/local/gostrap | |
wget https://storage.googleapis.com/golang/go1.6.2.src.tar.gz -O - | tar -zxf - -C /usr/local | |
echo 'R09ST09UX0JPT1RTVFJBUD0vdXNyL2xvY2FsL2dvc3RyYXAKZXhwb3J0IEdPUk9PVF9CT09UU1RSQVAKCkdPUEFUSD0kSE9NRS9nbwpleHBvcnQgR09QQVRICgpQQVRIPSIkUEFUSDovdXNyL2xvY2FsL2dvL2JpbjokR09QQVRIL2JpbiIKZXhwb3J0IFBBVEgKCg==' | base64 -d >> /etc/profile | |
cd /usr/local/go/src | |
source /etc/profile | |
./all.bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment