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/41275735ebb057b58ea8 to your computer and use it in GitHub Desktop.
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
# 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
@cslarson
Copy link

that qt54 ppa seems to have been removed. possibly now it should be?:

sudo add-apt-repository ppa:beineri/opt-qt541-trusty -y

@tgerring
Copy link
Author

Good eyes @cslarson 😄

The script has been updated to QT 5.4.1 and Go 1.4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment