github.com/samgwo/go-ethereum@v1.8.2-0.20180302101319-49bcb5fbd55e/containers/vagrant/provisioners/shell/debian.sh (about)

     1  #!/bin/bash
     2  
     3  sudo apt-get install -y build-essential git-all wget
     4  sudo apt-get update
     5  
     6  wget --continue https://storage.googleapis.com/golang/go1.8.1.linux-amd64.tar.gz
     7  sudo tar -C /usr/local -xzf go1.8.1.linux-amd64.tar.gz
     8  
     9  GETH_PATH="~vagrant/go/src/github.com/ethereum/go-ethereum/build/bin/"
    10  
    11  echo "export PATH=$PATH:/usr/local/go/bin:$GETH_PATH" >> ~vagrant/.bashrc