Skip to content

Instantly share code, notes, and snippets.

@setanimals
Last active July 8, 2019 14:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save setanimals/f562ed7dd1c69af3fbe960c7b9502615 to your computer and use it in GitHub Desktop.
Save setanimals/f562ed7dd1c69af3fbe960c7b9502615 to your computer and use it in GitHub Desktop.
Basic Linux install/setup for Cruzbit wallet/client and Go:
sudo apt-get update
sudo apt-get -y upgrade
wget https://dl.google.com/go/go1.12.6.linux-amd64.tar.gz
sudo tar -xvf go1.12.6.linux-amd64.tar.gz
sudo chown -R root:root ./go
sudo mv go /usr/local
sudo nano ~/.profile
#insert next after last line
export GOPATH=$HOME/work
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
source ~/.profile
export GO111MODULE=on
go install github.com/cruzbit/cruzbit/client
go install github.com/cruzbit/cruzbit/wallet
#If not already installed:
sudo apt install git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment