-
-
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
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
# 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