How to compile Ethereum

Compile Ethereum

Compile Ethereum

Works for Ubuntu 14.04

//Dependencies
sudo -s
wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
add-apt-repository "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty main"
add-apt-repository ppa:george-edison55/cmake-3.x
add-apt-repository -y ppa:ethereum/ethereum-qt
add-apt-repository -y ppa:ethereum/ethereum
add-apt-repository -y ppa:ethereum/ethereum-dev
apt-get -y update
apt-get -y upgrade
apt-get -y install cpp-ethereum screen build-essential git cmake llvm-3.8-dev opencl-headers libboost-all-dev libgmp-dev libleveldb-dev libminiupnpc-dev libreadline-dev libncurses5-dev libcurl4-openssl-dev libcryptopp-dev libjson-rpc-cpp-dev libmicrohttpd-dev libjsoncpp-dev libargtable2-dev libedit-dev mesa-common-dev ocl-icd-libopencl1 opencl-headers libgoogle-perftools-dev qtbase5-dev qt5-default qtdeclarative5-dev libqt5webkit5-dev libqt5webengine5-dev ocl-icd-dev libv8-dev libz-dev

//If you meet an error with libcryptopp-dev run :
dpkg -i --force-overwrite /var/cache/apt/archives/libcryptopp-dev_5.6.2-0~trusty6_amd64.deb

//Ethereum : Webthree Umbrella
git clone --recursive https://github.com/ethereum/webthree-umbrella
cd webthree-umbrella
git checkout release
mkdir build
cd build
cmake ..
make

 

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *