Skip to content
Gav Wood edited this page Feb 7, 2014 · 2 revisions

This page assumes you want to build the PoC-1 release of Ethereum. If you want to build the bleeding edge codebase, see Building.

To build Ethereum (++) Proof-of-Concept-1, we'll assume you have Ubuntu Linux 13.04. Other version should work very similarly, but they're not yet tested. (Feel free to edit this with your experiences/tips/fixes.)

Before you begin, update your repositories:

sudo apt-get update && sudo apt-get upgrade

First grab the easy dependencies:

sudo apt-get install build-essential libgmp-dev libgmp3-dev libcrypto++-dev \
  git cmake libboost1.53-all-dev automake libtool libleveldb-dev yasm unzip libminiupnpc-dev

Then grab and build the latest cryptopp:

mkdir cryptopp562
cd cryptopp562
wget http://www.cryptopp.com/cryptopp562.zip
unzip cryptopp562.zip
make
cd ..

Then grab and build the SECP256k1 crypto lib:

wget http://gavwood.com/secp256k1.tar.bz2
tar xjf secp256k1.tar.bz2
cd secp256k1
./configure && make
cd ..

Then build the client;

tar xzf cpp-ethereum-poc-1.tar.gz
mkdir cpp-ethereum-build
cd cpp-ethereum-build
cmake ../cpp-ethereum-poc-1 -DCMAKE_BUILD_TYPE=Release
make
cd ..

You might then Configure a Server.

If you want to build the GUI client, AlephZero, you'll need to make sure you have Qt installed:

sudo apt-get install qtbase5-dev qt5-default

And then just build it:

cd cpp-ethereum-build
mkdir alephzero
cd alephzero
qmake ../../cpp-ethereum-poc-1/alephzero
make

Once done, you can run your experimental Ethereum client with ./alephzero.

Clone this wiki locally