Last active
August 29, 2015 14:14
-
-
Save tgerring/41275735ebb057b58ea8 to your computer and use it in GitHub Desktop.
Mist installation for Ubuntu Trusty with Go 1.4.1 and QT 5.4
This file contains hidden or 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
# set environment variables | |
export PATH=$HOME/golang/bin:$PATH | |
export GOPATH=$HOME/go | |
mkdir -p $GOPATH | |
# install base dependencies | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get install -y git mercurial build-essential software-properties-common pkg-config libgmp3-dev libreadline6-dev libpcre3-dev libpcre++-dev mesa-common-dev libglu1-mesa-dev | |
# install qt5.4 packcages | |
sudo add-apt-repository ppa:beineri/opt-qt541-trusty -y | |
sudo apt-get update | |
sudo apt-get install -y qt54quickcontrols qt54webengine | |
source /opt/qt54/bin/qt54-env.sh | |
# install golang | |
cd ~ | |
git clone https://go.googlesource.com/go golang | |
cd golang && git checkout go1.4.2 | |
cd src && ./make.bash | |
# 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 qt5.4 | |
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 build | |
# run | |
./mist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good eyes @cslarson 😄
The script has been updated to QT 5.4.1 and Go 1.4.2