Build QT Wallet on Raspberry Pi3

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

Install the deps, you may only need to install libqt4-dev and libqrencode-dev packages if you followed the tutorial above.

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, this is an alternative method to Kawaii’s above that does not require you to compile the Berkeley DB 4.8

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 

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"

USE_LEVELDB=1 is required, USE_UPNP and USE_QRCODE are optional.

Now we are finally ready to make!

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!


Leave a Reply

Your email address will not be published. Required fields are marked *