Skip to content

Instantly share code, notes, and snippets.

@tgerring
Last active April 13, 2018 07:19
Show Gist options
  • Save tgerring/d4ab3f1672ed91a53c6c to your computer and use it in GitHub Desktop.
Save tgerring/d4ab3f1672ed91a53c6c to your computer and use it in GitHub Desktop.
Mist installation script for Ubuntu 14.04.2
#!/bin/bash
# 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
# Install Qt 5.4.1 packages (only required for Mist)
sudo add-apt-repository ppa:beineri/opt-qt541-trusty -y
sudo apt-get update
sudo apt-get install -y qt54quickcontrols qt54webengine mesa-common-dev
echo 'export PKG_CONFIG_PATH=/opt/qt54/lib/pkgconfig' >> ~/.bashrc
echo 'export LD_LIBRARY_PATH=/opt/qt54/lib' >> ~/.bashrc
# Install Go 1.4.2 binaries
[[ `uname -m` = "x86_64" ]] && GOARCH="amd64" || GOARCH="386"
wget https://storage.googleapis.com/golang/go1.4.2.linux-$GOARCH.tar.gz
sudo tar -C /usr/local -xzf go*.tar.gz
echo 'export GOPATH=$HOME/go' >> ~/.bashrc
echo 'export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin' >> ~/.bashrc
source ~/.bashrc && go version
# Install Mist
mkdir -p $GOPATH
go get github.com/tools/godep
go get -d github.com/ethereum/go-ethereum/...
cd $GOPATH/src/github.com/ethereum/go-ethereum && git checkout develop
godep go install ./cmd/mist
# Run Mist
mist
@AthiraRavindranathan
Copy link

package context: unrecognized import path "context" (import path does not begin with hostname)

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