-
Notifications
You must be signed in to change notification settings - Fork 2
Building on Ubuntu
This page assumes you want to build the bleeding-edge version of Ethereum. If you want to build a proof-of-concept release see Building on Ubuntu (Proof of Concept).
To build the very latest version of Ethereum (++), we'll assume you have Ubuntu Linux 13.10. Other versions 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 \
qtbase5-dev qt5-default
Then grab and build the latest cryptopp:
mkdir cryptopp562
cd cryptopp562
wget http://www.cryptopp.com/cryptopp562.zip
unzip cryptopp562.zip
make
cd ..
Then build the client;
git clone https://github.com/ethereum/cpp-ethereum
mkdir cpp-ethereum-build
cd cpp-ethereum-build
cmake ../cpp-ethereum -DCMAKE_BUILD_TYPE=Release
make
If you're updating from a previous version and you find you get errors when running, delete your old block chain before restarting:
rm -rf ~/.ethereum
You might then Configure a Server.
Once done, you can run your experimental Ethereum client with ./alethzero/alethzero.