13.06.2017 Views

Whitepaper - Ethereum Classic With Cover

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Ethereum</strong> <strong>Classic</strong> Documentation, Release 0.1<br />

We use a common CMake build system to generate platform-specific build files, meaning that the workflow is<br />

very similar whatever operating system you use:<br />

• Install build tools and external packages (these are platform dependent)<br />

• Clone the source code from the webthree-umbrella git repository<br />

• Run CMake to generate a build file (makefile, Visual Studio solution, etc)<br />

• Build it<br />

Platform-specific instructions<br />

Building for Linux NOTE - It may be possible to get the client working for Linux 32-bit, by disabling EVMJIT<br />

and maybe other features too. We might accept pull-requests to add such support, but we will not put any of our<br />

own development time into supporting Linux 32-bit builds.<br />

Linux has a horror-show of distro-specific packaging system steps which are the first thing which we need to do<br />

before we can start on Building from source. The sections below attempt to capture those steps. If you are using<br />

as different distro and hit issues, please let us know.<br />

Clone the repository<br />

To clone the source code, execute the following command:<br />

git clone --recursive https://github.com/bobsummerwill/cpp-ethereum.git<br />

cd cpp-ethereum<br />

git checkout merge_repos<br />

git submodule update --init<br />

Installing dependencies (the easy way!) For the “Homecoming” release (v1.3.0) in July 2016 we added a new<br />

“one-button” script for installing external dependencies, which identifies your distro and installs the packages<br />

which you need. This script is new and incomplete, but is a way easier experience than the manual steps described<br />

in the next section of this document. Give it a go! It works for Ubuntu and macOS and a few other distros already.<br />

If you try it, and it doesn’t work for you, please let us know and we will prioritize fixing your distro!:<br />

./install_deps.sh<br />

Installing dependencies (distro-specific)<br />

Installing dependencies for Ubuntu<br />

Ubuntu Trusty Tahr (14.04)<br />

Steps:<br />

sudo apt-add-repository ppa:george-edison55/cmake-3.x<br />

sudo apt-get -y update<br />

sudo apt-get -y install language-pack-en-base<br />

sudo dpkg-reconfigure locales<br />

sudo apt-get -y install software-properties-common<br />

sudo add-apt-repository "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty-3.7 main"<br />

wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -<br />

sudo apt-get -y update<br />

sudo apt-get -y install llvm-3.7-dev<br />

sudo add-apt-repository -y ppa:ethereum/ethereum-qt<br />

sudo add-apt-repository -y ppa:ethereum/ethereum<br />

sudo add-apt-repository -y ppa:ethereum/ethereum-dev<br />

sudo apt-get -y update<br />

26 Chapter 1. Contents

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!