Compiler Requirements
Bitcoin Core requires one of the following compilers:Required Dependencies
Build Dependencies
These dependencies are required for all builds:Runtime Dependencies
| Dependency | Minimum Version | Purpose |
|---|---|---|
| glibc | 2.31 | GNU C Library (Linux) |
Optional Dependencies
Build Dependencies
Runtime Dependencies
| Dependency | Minimum Version | Purpose |
|---|---|---|
| Fontconfig | 2.6 | Font configuration (GUI) |
| FreeType | 2.3.0 | Font rendering (GUI) |
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.