Skip to content

Instantly share code, notes, and snippets.

@marsmensch
Last active August 8, 2017 08:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marsmensch/70fb2642bfac22a36c115425da720ef6 to your computer and use it in GitHub Desktop.
Save marsmensch/70fb2642bfac22a36c115425da720ef6 to your computer and use it in GitHub Desktop.
Building ZCoin from source on Ubuntu 14.04 LTS & 16.04 LTS | https://github.com/ZCoinOfficial/ZCoin | A compiled version can be found at https://www.dropbox.com/s/v4vo7eydqwrkkcb/zcoind?dl=1
# upgrade and install packages
apt-get update && apt-get upgrade
apt-get install build-essential g++ protobuf-compiler libboost-all-dev \
autotools-dev automake libcurl4-openssl-dev libboost-all-dev libssl-dev \
libdb++-dev make autoconf automake libtool git apt-utils libprotobuf-dev \
pkg-config libcurl3-dev libudev-dev libqrencode-dev bsdmainutils pkg-config \
libssl-dev libgmp3-dev libevent-dev
#create a swapfile if needed
dd if=/dev/zero of=/var/swap.img bs=1024k count=3000
chmod 0600 /var/swap.img
mkswap /var/swap.img
swapon /var/swap.img
# get sources and compile
git clone https://github.com/zcoinofficial/zcoin.git
cd zcoin/src
make -f makefile.unix USE_UPNP=- RELEASE=1 STATIC=1
# strip the binary
strip zcoind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment