Last active
August 29, 2015 14:14
-
-
Save tgerring/346a10dcb299450a6f36 to your computer and use it in GitHub Desktop.
Mist install Ubuntu 14.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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