Skip to content

Instantly share code, notes, and snippets.

@RussHarben
RussHarben / how-to-compile-bitcoin-core-from-source-for-linux-debian.md
Last active July 2, 2020 23:07 — forked from jonatack/how-to-compile-bitcoin-core-from-source-for-linux-debian.md
How to compile Bitcoin Core with wallet, from source, on Linux Debian

How to compile Bitcoin Core from source on Linux Debian and run the unit and functional tests

Last updated: 16 March 2019

This is a simplified compilation of the various docs in https://github.com/bitcoin/bitcoin/tree/master/doc. Don't hesitate to read them for more information.

All steps are to be run from your terminal emulator, i.e. the command line.

  1. Ensure the dependencies are installed:
  • sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3 libssl-dev libevent-dev libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libminiupnpc-dev libzmq3-dev libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler git ccache

Keybase proof

I hereby claim:

  • I am russharben on github.
  • I am russharben (https://keybase.io/russharben) on keybase.
  • I have a public key ASBpTXPaHe_jMSBFplOpFUYy0QXigqDf2AvW1sHB_uG0ego

To claim this, I am signing this object: