Skip to content

Instantly share code, notes, and snippets.

@hebasto
Last active May 1, 2024 18:26
Show Gist options
  • Save hebasto/a7f08e44ddb79cc4cde2762cf9ec5688 to your computer and use it in GitHub Desktop.
Save hebasto/a7f08e44ddb79cc4cde2762cf9ec5688 to your computer and use it in GitHub Desktop.
Building Bitcoin Core with GUI on Alpine Linux

Building Bitcoin Core with GUI on Alpine Linux

System

$ cat /etc/alpine-release
3.13.5

Bitcoin Core repository

$ sudo apk add git
$ git clone https://github.com/bitcoin/bitcoin.git
$ cd git
$ git rev-parse HEAD
fe511454e131749dabd6e51f2c2a68310e32a871

Building depends

Prerequisites

$ sudo apk add bash bison build-base curl linux-headers make pkgconf python3 xz

Building

$ make -C depends

Building binaries

Prerequisites

$ sudo apk add autoconf automake libtool

Configuring and building

$ ./autogen.sh
$ CONFIG_SITE=$PWD/depends/x86_64-pc-linux-musl/share/config.site ./configure
$ make

Running Bitcoin Core

Prerequisites

$ sudo apk add libxkbcommon-x11

Running

$ LC_ALL=C src/qt/bitcoin-qt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment