Last active
          October 28, 2016 12:46 
        
      - 
      
 - 
        
Save Lewiscowles1986/e105a771418b5f57372daf83dc9c0b41 to your computer and use it in GitHub Desktop.  
    Install Go 1.7.3
  
        
  
    
      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.7.3.linux-amd64.tar.gz | |
| tar -xvf go1.7.3.linux-amd64.tar.gz | |
| sudo mv go /opt/go | |
| sudo cat > /etc/profile.d/go.sh <<EOF | |
| export GOROOT=/opt/go | |
| export PATH=\$PATH:\$GOROOT/bin | |
| EOF | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment