Skip to main content
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.

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 the depends/ directory of the source code for more information.