Skip to content

HOW TO Compile Bytz daemon from source

BytzCK edited this page Nov 23, 2021 · 1 revision

Base build dependencies

Building the dependencies and Bytz Core requires some essential build tools and libraries to be installed before.

Run the following commands to install required packages:

Debian/Ubuntu:
$ sudo apt-get install curl build-essential libtool autotools-dev automake pkg-config python3 bsdmainutils git
Fedora:
$ sudo dnf install gcc-c++ libtool make autoconf automake python3 libstdc++-static patch git
Arch Linux:
$ sudo pacman -S base-devel python3 git
Alpine Linux:
# apk --update --no-cache add autoconf automake curl g++ gcc libexecinfo-dev libexecinfo-static libtool make perl pkgconfig python3 patch linux-headers git
FreeBSD/OpenBSD:
pkg_add gmake libtool
pkg_add autoconf # (select highest version, e.g. 2.69)
pkg_add automake # (select highest version, e.g. 1.15)
pkg_add python # (select highest version, e.g. 3.5)

Building

Clone Bytz:

$ git clone https://github.com/bytzcurrency/BYTZ.git

Change to bytz directory:

$ cd bytz

Build dependecies:

$ make -C depends -j <number of cpus +1>

Build Bytz:

$ ./autogen.sh
$ ./configure prefix=<location of depends as compiled above>
$ make -j <number of cpus +1>
Clone this wiki locally