# Install build tools
sudo apt install git build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev libminiupnpc-dev libzmq3-dev
# Clone the latest release
git clone -b v0.20.1 https://github.com/bitcoin/bitcoin.git
# Enter the cloned repo dir
cd bitcoin/
# Configure and install with disabled GUI and wallet.
./autogen.sh
./configure CXXFLAGS="--param ggc-min-expand=1 --param ggc-min-heapsize=32768" --enable-cxx --with-zmq --without-gui --disable-shared --with-pic --disable-tests --disable-bench --enable-upnp-default --disable-wallet
# This may take a while
make
sudo make install
Last active
October 8, 2020 00:50
-
-
Save alexbosworth/cfbe659e94e6dde3975043113dc6bfed to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment