Build [DNR] Denarius Coin QT Wallet on Raspberry Pi3

in #dnr7 years ago (edited)

Build DNR QT Wallet on Raspberry Pi3

If you want to run the full Denarius QT Wallet on a Raspberry Pi 3, Ubuntu Mate 16.04, then do the following:

Install the deps.

sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev libboost-all-dev libminiupnpc-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libqrencode-dev -y

Then install the final dependency needed for Denarius QT

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

Create the swapfile on your Pi (same as Kawaii's above) so that you can compile the code, since it has only 1GB of RAM. This creates a 4GB Swapfile.

cd /
dd if=/dev/zero of=swapfile bs=1M count=4000
chmod 0600 swapfile
mkswap swapfile
swapon swapfile

Then we just need to clone our Denarius repository:

cd ~/Downloads
git clone https://github.com/carsenk/denarius.git
cd denarius

Once inside our denarius directory, we need to tell Qt (qmake) to setup our makefile for compiling:

qmake "USE_UPNP=1" "USE_QRCODE=1" denarius-qt.pro
USE_UPNP and USE_QRCODE are optional.

export QT_SELECT=qt5
qmake -v

Now we are finally ready to make!
make
or
make -j4
(4 is the number of cores of your processor that you want to use for compiling, generally on the Pi3s you can use 4 cores)

Once it is done building and if you didn't get any errors you will be able to run the following to launch the Denarius QT Wallet!

https://denarius.io/ - Homepage
https://denarius.wiki - Wiki
https://denarius.host/ - Masternode Stats
http://denarius.win/ - Masternode ROI Stats
https://denariustalk.org - Forums
https://discord.gg/YMWMgZe - Discord Community Chat

Coin Marketplace

STEEM 0.18
TRX 0.16
JST 0.029
BTC 76024.68
ETH 2926.23
USDT 1.00
SBD 2.60