Skip to content

Instantly share code, notes, and snippets.

@mjmacleod
Last active July 27, 2018 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mjmacleod/c5be3d05d213317b7ae4cbc50324d5ee to your computer and use it in GitHub Desktop.
Save mjmacleod/c5be3d05d213317b7ae4cbc50324d5ee to your computer and use it in GitHub Desktop.
Build GuldenD on Ubuntu 18
# 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