Compile Linux

peerchemist edited this page Apr 21, 2015 · 7 revisions

Peerunity Daemon and QT Client

This tutorial is based on Debian based Linux distributions like Ubuntu.

Retrieve Dependency Packages

$ sudo apt-get update
$ sudo apt-get install git build-essential libssl-dev libboost-thread-dev libboost-filesystem-dev libboost-program-options-dev libdb++-dev libminiupnpc-dev libqrencode-dev qt4-qmake libqt4-dev

Clone the Peerunity Github Repository

$ git clone https://github.com/Peerunity/Peerunity.git

Note: If you run into an public key error while attempting to clone the repository, follow these steps to set up a valid RSA keypair. If you use Github, you can then add that pair to your account, for easier access in the future.

Compile the Peerunity daemon (peerunityd)

$ cd ~/Peerunity/src
$ make -f makefile.unix

# daemon will be compiled, and can be started from the command line

Compile the Peerunity Wallet Client

$ cd ~/Peerunity
$ qmake
$ make 

#qt wallet will be compiled, and can be run by double clicking peerunity executable

###Create Peerunity configuration file (ppcoin.conf) In any text editor (vi, vim, nano, etc.) open the file and insert the following content:

# 'Clean' configuration file for Peershares development

server=1
testnet=1

rpcuser=pstn
rpcpassword=pstn1
rpcport=9923

Save the changes to the file.