Skip to content

Arch Linux build guide


You will need the following dependencies:

    pacman -S boost cmake git git-lfs libevent ninja python miniupnpc zeromq help2man

You can do without the miniupnpc, zeromq, and help2man packages, then you just need to respectively pass -DENABLE_UPNP=OFF, -DBUILD_BITCOIN_ZMQ=OFF, or -DENABLE_MAN=OFF on the cmake command line. You can also do without the git-lfs package, if you don't intend to run the benchmark tool.

If you want to build the GUI client bitcoin-qt Qt 5 is necessary. To build with Qt 5 you need the following packages installed:

pacman -S qt5-base qt5-tools protobuf qrencode

You can do without the qrencode package, just pass -DENABLE_QRCODE=OFF on the cmake command line.


Once you have installed the required dependencies (see sections above), you can build Bitcoin Cash Node as such:

First fetch the code (if you haven't done so already).

git clone

Change to the BCN directory, make build dir, and change to that directory

cd bitcoin-cash-node/
mkdir build
cd build

Next you need to choose between building just the node, the node with wallet support, or the node and the QT client.

Choose one:

# to build just the node, no wallet functionality, choose this:
# to build the node, with wallet functionality, but without GUI, choose this:
# to build node and QT GUI client, choose this:
cmake -GNinja ..

Next, finish the build


You will find the bitcoind, bitcoin-cli, bitcoin-tx (and optionally bitcoin-qt) binaries in /build/src/(qt).

Optionally, run the tests

ninja check # recommended

After a successful test you can install the newly built binaries to your bin directory. Note that this will probably overwrite any previous version installed, including binaries from different sources.

sudo ninja install #optional