Last active
July 27, 2018 19:51
-
-
Save mjmacleod/c5be3d05d213317b7ae4cbc50324d5ee to your computer and use it in GitHub Desktop.
Build GuldenD on Ubuntu 18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install build requirements | |
# The below will install various new packages on your system | |
# Do not do this unless you understand the consequences, Gulden developers cannot take responsibility for other effects this may have on other software on your system | |
sudo apt-get install curl build-essential libtool autotools-dev autoconf pkg-config libssl-dev git | |
# Fresh clone of repository | |
git clone https://github.com/Gulden/gulden-official.git | |
cd gulden-official/ | |
# If old clone of repository make sure to fetch latest | |
git pull origin | |
# Build dependencies | |
cd depends | |
make NO_QT=1 NO_UPNP=1 | |
cd .. | |
# Generate configure | |
./autogen.sh | |
# Always best practice to configure and build in a sub directory | |
mkdir build && cd build | |
../configure --prefix=$PWD/../depends/x86_64-pc-linux-gnu/ | |
# Build - manually substitute nproc for number of processes if necessary | |
make -j$(nproc) | |
# Done, you can now run GuldenD from within the build directory | |
./src/GuldenD --version | |
# Or copy it somewhere more appropriate and then run from path | |
cp GuldenD /usr/bin/GuldenD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment