Advertisement
zfrxnzy

Mirai Golang Error Fix

Jul 31st, 2017
1,260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. This is a tutorial on how to fix any golang errors whilst setting up mirai.
  2.  
  3. sudo apt-get update
  4. sudo apt-get -y upgrade
  5. wget https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz
  6. sudo tar -xvf go1.8.3.linux-amd64.tar.gz
  7. sudo mv go /usr/local
  8. export GOROOT=/usr/local/go
  9. export GOPATH=$HOME/Projects/Proj1
  10. export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
  11.  
  12. To see if installed correctly do
  13.  
  14. go version
  15.  
  16. If You See... go version go1.8.3 linux/amd64 ... Then It Was Installed Correctly
  17.  
  18. If you need help skype me. @zFrxnzy
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement