Profit Hunters Coin Wallets

Linux Install Guide

Required Platforms:

Debian Kernel (Ubuntu 16.04+, Mint 17.3+)

Installing Required Dependencies:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
sudo apt-get install libssl-dev
sudo apt-get install libboost-all-dev
sudo apt-get install libqrencode-dev
sudo apt-get install libgmp3-dev
sudo apt-get install miniupnpc
sudo apt-get install libminiupnpc-dev
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install dh-autoreconf
sudo apt-get install autoconf
sudo apt-get install automake
sudo apt-get install git nano
sudo apt-get install pkg-config
sudo apt-get install libtool
sudo apt-get install libtool-bin
sudo apt-get install libgmp-dev
sudo apt-get install software-properties-common

Installing DB4 Dependencies:

sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev

Installing QT Dependencies:

sudo apt-get install qt5-base
sudo apt-get install qt5-default
sudo apt-get install qt5-qmake
sudo apt-get install qtbase5-dev-tools
sudo apt-get install qttools5-dev-tools
sudo apt-get install build-essential
sudo apt-get install libboost-dev
sudo apt-get install libboost-system-dev
sudo apt-get install libboost-filesystem-dev
sudo apt-get install libboost-program-options-dev
sudo apt-get install libboost-thread-dev
sudo apt-get install libssl-dev
sudo apt-get install libminiupnpc-dev
sudo apt-get install libjson-c-dev

Grabbing the source code:

git clone http://github.com/profithunterscoin/phc

Creating a swap space (optional):

fallocate -l 3G /swapfile
sudo sudo dd if=/dev/zero of=swapfile bs=1M count=3072
mkswap /swapfile
chmod 600 /swapfile
swapon /swapfile
echo -e "/swapfile none swap sw 0 0 \n" >> /etc/fstab
cat /proc/meminfo

Compiling Daemon:

cd phc
cd src
make -f makefile.unix

Installing Daemon:

sudo cp phcd /usr/bin
cd ..

Compiling QT (GUI):

qmake && make

Installing QT (GUI):

sudo cp phc-qt /usr/bin
cd ..