Skip to content

Instantly share code, notes, and snippets.

@tgerring
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tgerring/346a10dcb299450a6f36 to your computer and use it in GitHub Desktop.
Save tgerring/346a10dcb299450a6f36 to your computer and use it in GitHub Desktop.
Mist install Ubuntu 14.04
# install dependencies
sudo add-apt-repository ppa:beineri/opt-qt54-trusty -y
sudo apt-get update
sudo apt-get install -y git mercurial build-essential software-properties-common golang pkg-config libgmp3-dev libreadline6-dev libpcre3-dev libpcre++-dev mesa-common-dev libglu1-mesa-dev qt54quickcontrols qt54webengine
# set environment variables
echo 'export PKG_CONFIG_PATH=/opt/qt54/lib/pkgconfig' >> ~/.bashrc
echo 'export LD_LIBRARY_PATH=/opt/qt54/lib' >> ~/.bashrc
echo 'export GOPATH=$HOME/go' >> ~/.bashrc
source ~/.bashrc
mkdir -p $GOPATH
# checkout branch v1 for qml dependency
go get -u github.com/obscuren/qml
cd $GOPATH/src/github.com/obscuren/qml && git checkout v1
# checkout branch develop
go get -u -v github.com/ethereum/go-ethereum/...
cd $GOPATH/src/github.com/ethereum/go-ethereum && git checkout develop
# re-get any missing dependencies
ETH_DEPS=$(go list -f '{{.Imports}} {{.TestImports}} {{.XTestImports}}' github.com/ethereum/go-ethereum/... | sed -e 's/\[//g' | sed -e 's/\]//g' | sed -e 's/C //g'); if [ "$ETH_DEPS" ]; then go get $ETH_DEPS; fi
# build
cd ./cmd/mist && go install -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment