Compiler Requirements
Bitcoin Core requires one of the following compilers:Required Dependencies
Build Dependencies
These dependencies are required for all builds:Runtime Dependencies
Optional Dependencies
Build Dependencies
Runtime Dependencies
Dependency Installation
Linux/Unix
Install dependencies on Ubuntu, Debian, Fedora, Alpine, and other Linux distributions
macOS
Install dependencies using Homebrew on macOS
Windows
Cross-compile on Linux/WSL using MinGW-w64
BSD
Install dependencies on FreeBSD, OpenBSD, and NetBSD
Using the Depends System
If you prefer to self-compile dependencies instead of using system packages, Bitcoin Core includes a depends system that can build all required dependencies from source. See the README.md in thedepends/ directory of the source code for more information.