Last active
November 15, 2015 20:02
-
-
Save btcdrak/4ef66b8dae8cf864b41f to your computer and use it in GitHub Desktop.
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
sudo add-apt-repository ppa:bitcoin/bitcoin | |
sudo apt-get update | |
sudo apt-get install libdb4.8-dev libdb4.8++-dev build-essential libtool autotools-dev autoconf pkg-config libssl-dev libevent-dev bsdmainutils libboost-all-dev libminiupnpc-dev libzmq3-dev git-core | |
## if you want to build Qt then you will need to add this below: | |
# sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler | |
git clone https://github.com/bitcoin/bitcoin | |
cd bitcoin | |
git checkout v0.11.2 | |
./autogen.sh | |
./configure --with-tests=no --enable-gui=no # --enable-gui=yes for Qt also. | |
make | |
sudo make install | |
### to upgrade | |
cd bitcoin | |
git fetch | |
git checkout v0.11.3 | |
make | |
sudo make install | |
### autostart, edit /etc/rc.local and add | |
su bitcoin -c 'bitcoind -daemon' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment