Skip to content

Instantly share code, notes, and snippets.

@btcdrak
Last active November 15, 2015 20:02
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 btcdrak/4ef66b8dae8cf864b41f to your computer and use it in GitHub Desktop.
Save btcdrak/4ef66b8dae8cf864b41f to your computer and use it in GitHub Desktop.
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