Skip to content

Instantly share code, notes, and snippets.

@btcdrak btcdrak/bitcoin-install.sh
Last active Nov 15, 2015

Embed
What would you like to do?
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
You can’t perform that action at this time.