Last active
May 28, 2016 15:15
-
-
Save vogon101/72ae37cdcfdf89ba185aaff35dc0c9a0 to your computer and use it in GitHub Desktop.
Compiles bitcoin from source
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
#!/bin/bash | |
# Download the source | |
mkdir -p src && cd src | |
git clone https://github.com/bitcoin/bitcoin.git | |
git checkout v0.12.1 | |
# Install the required packages | |
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils | |
sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev | |
sudo add-apt-repository ppa:bitcoin/bitcoin | |
sudo apt-get update | |
sudo apt-get install libdb4.8-dev libdb4.8++-dev | |
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler | |
sudo apt-get install libqrencode-dev | |
# Compile Bitcoin | |
./autogen.sh | |
./configure | |
make | |
sudo make install # optional |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment