Basic Build Process
Configure the build
Build and install
Memory Requirements
C++ compilers are memory-hungry. It is recommended to have at least 1.5 GB of memory available when compiling Bitcoin Core.Low Memory Optimization
If you have limited memory, you can tune GCC to conserve memory:Distribution-Specific Instructions
Ubuntu & Debian
Install build requirements
Install required dependencies
Install wallet dependencies (optional)
-DENABLE_WALLET=OFF during configuration.Install IPC dependencies (optional)
-DENABLE_IPC=OFF during configuration.Install ZMQ dependencies (optional)
-DWITH_ZMQ=ON during configuration.Install USDT dependencies (optional)
Install GUI dependencies (optional)
-DBUILD_GUI=ON during configuration.Fedora
Install build requirements
Install required dependencies
Install wallet dependencies (optional)
Install IPC dependencies (optional)
Install ZMQ dependencies (optional)
Install USDT dependencies (optional)
Install GUI dependencies (optional)
Alpine
Install build requirements
Install required dependencies
Install wallet dependencies (optional)
Install IPC dependencies (optional)
Install ZMQ dependencies (optional)
Install GUI dependencies (optional)
Example: Arch Linux Build
This example shows the complete process to build Bitcoin Core on Arch Linux:Install dependencies
Clone the repository
Configure and build
Run tests
Run Bitcoin Core
Disable-Wallet Mode
When the intention is to only run a P2P node without a wallet, Bitcoin Core can be compiled in disable-wallet mode:getblocktemplate RPC call.