echo "export GOHOME=/usr/lib/go" >> /etc/profile
echo "export GOROOT=$GOHOME/go" >> /etc/profile
echo "export PATH=$PATH:$GOROOT/bin" >> /etc/profile
echo "export GOPATH=$HOME/Applications/Go" >> /etc/profile
yum install bison ed gawk gcc libc6-dev make -y
wget https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz
tar zxvf golang/go1.4.2.linux-amd64.tar.gz
mv go $GOROOT