Difference between revisions of "Compile the Cloakcoin Client"

From CloakCoin Wiki
Jump to: navigation, search
Line 20: Line 20:
 
<li>Clone the CloakCoin repository from GitHub</li>
 
<li>Clone the CloakCoin repository from GitHub</li>
 
::<code>git clone https://github.com/CloakProject/CloakCoin</code>
 
::<code>git clone https://github.com/CloakProject/CloakCoin</code>
::<code>cd CloakCoin</code>
+
::<code>cd CloakCoin/src</code>
 
<li>Install the dependencies</li>
 
<li>Install the dependencies</li>
 
::<code>sudo apt install -y \  build-essential \ qt5-default \ qt5-qmake \ libleveldb-dev \ libboost1.58-dev \ libcurl4-openssl-dev \ openssl \ libssl-dev \ libdb++-dev \ libevent-dev \ libboost-dev \ libboost-system-dev \ libboost-filesystem-dev \ libboost-program-options-dev \ libboost-thread-dev \ libminiupnpc-dev</code>
 
::<code>sudo apt install -y \  build-essential \ qt5-default \ qt5-qmake \ libleveldb-dev \ libboost1.58-dev \ libcurl4-openssl-dev \ openssl \ libssl-dev \ libdb++-dev \ libevent-dev \ libboost-dev \ libboost-system-dev \ libboost-filesystem-dev \ libboost-program-options-dev \ libboost-thread-dev \ libminiupnpc-dev</code>

Revision as of 12:07, 21 June 2018

This guide covers the compilation of CloakCoin on Linux, it as been tested by Cloak team members on Ubuntu 16.04 and Xubuntu 16.04 LTS, diferent Linux distributions may need additional tweeking.





Build instructions for Ubuntu Linux QT GUI edition

  1. Install git if you don't already have it
  2. sudo apt install git
  3. Clone the CloakCoin repository from GitHub
  4. git clone https://github.com/CloakProject/CloakCoin
    cd CloakCoin/src
  5. Install the dependencies
  6. sudo apt install -y \ build-essential \ qt5-default \ qt5-qmake \ libleveldb-dev \ libboost1.58-dev \ libcurl4-openssl-dev \ openssl \ libssl-dev \ libdb++-dev \ libevent-dev \ libboost-dev \ libboost-system-dev \ libboost-filesystem-dev \ libboost-program-options-dev \ libboost-thread-dev \ libminiupnpc-dev
  7. Build from source
  8. qmake && make
  9. If all went well you cloakcoin-qt should now have been created in the root of the repository folder
  10. The first time you launch the wallet, it will have to sync with the network. This takes forever if you don't already have a lot of the blockchain downloaded. You can download it before hand like this:
  11. mkdir ~/.CloakCoin && cd ~/.CloakCoin
  12. Download ~1.1 GB of blockchain data
  13. wget https://backend.cloakcoin.com/wallet/v2/cloak_ldb.zip
    unzip cloak_ldb.zip
    rm cloak_ldb.zip
  14. Now you are ready to launch the wallet
  15. ./cloakcoin-qt
  16. You can optionally copy cloakcoin-qt to a directory in your $PATH so that you can open it from anywhere like
  17. sudo cp ./cloakcoin-qt /usr/local/bin

    Build instructions for Linux headless edition

    1. Install git if you don't already have it
    2. sudo apt install git
    3. Clone the CloakCoin repository from GitHub
    4. git clone https://github.com/CloakProject/CloakCoin
      cd CloakCoin/src
      make -f makefile.unix