Bitcoin Core has several required and optional dependencies that you’ll need to install before building. You can either install these dependencies using your system’s package manager or self-compile them using the depends system in the source repository.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/bitcoin/bitcoin/llms.txt
Use this file to discover all available pages before exploring further.
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.