ubuntu.sh 371 B

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