-
Notifications
You must be signed in to change notification settings - Fork 0
Build Ubuntu
In the following a short description how to build spectrecoin and spectrecoind on Ubuntu 18.04, 19.04 and 19.10
Update package lists and update system:
apt-get update -y && apt-get upgrade -y
Install build time dependencies:
apt-get install -y --no-install-recommends \
autoconf \
automake \
build-essential \
ca-certificates \
g++ \
git \
less \
libboost1.65-all-dev \
libcap-dev \
libevent-dev \
libqt5network5 \
libqt5quick5 \
libqt5quickwidgets5 \
libqt5webchannel5-dev \
libqt5websockets5-dev \
libqt5webview5-dev \
libqt5widgets5 \
libseccomp-dev \
libssl-dev \
libtool \
libz-dev \
locales \
make \
mc \
openssh-client \
pkg-config \
qt5-default \
qtbase5-dev \
qttools5-dev-tools \
qtwebengine5-dev \
wget
The package mc (Midnight Commander) is there just for convenience. ;-)
See up2date list of build time dependencies on corresponding Dockerfiles, which we use to build Spectrecoin on our Continuous Integration system.
Install same packages as above but change libboost package to libboost1.67-all-dev.
To build Spectrecoin you need to do the same steps as we do using Docker. The latest version can be found here.
- Clone the Git repository and cd into the directory
» git clone https://github.com/spectrecoin/spectre.git » cd spectre - Perform the build
» ./autogen.sh » ./configure --enable-gui » make
The two binaries spectre (UI) and spectrecoind (daemon) can be found in the directory src afterwards.
To install them, just do this:
cp src/spectre /usr/local/bin/spectrecoin
cp src/spectrecoind /usr/local/bin/spectrecoind
Now you can use them right from the cmdline.