Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: gxsuk759 on February 27, 2018, 06:04:01 PM



Title: Upgrade full node to 0.16.0
Post by: gxsuk759 on February 27, 2018, 06:04:01 PM
I'm running a full node (v0.15.1) on my Raspberry Pi 3 with Rasbian and I want to upgrade my node to 0.16.0. The bitcoin.org description on how to upgrade Bitcoin Core was not rly helpfull ("just copy over bitcoind" - very user friendly ^^).
Anyway, I looked for an answer on Google and also in this forum but nothing rly helped me.

For the first installation i used the following lines (from this description: https://github.com/MrChrisJ/fullnode/blob/master/Setup_Guides/Setup_Jessie_Bitcoin_Core_0.13.2.md):

cd ~/bin
git clone -b v0.15.1 https://github.com/bitcoin/bitcoin
cd bitcoin/
./autogen.sh
./configure CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include -O2" LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib" --enable-upnp-default --with-gui=qt4
make -j2
sudo make install

First I thought about to just run the same code again (with v0.16.0 instead of v0.15.1) but at bitcoin.org they wrote that I have to "just copy over bitcoind" so idk want is meant by that.

So if someone can send me a (noob-userfriendly) solution I would rly appreciate that.


Title: Re: Upgrade full node to 0.16.0
Post by: aleksej996 on February 27, 2018, 07:47:32 PM
Like most things you can do this in multiple ways. What you did last time was compiling from source.
There is no need not to do this again, except you don't need to clone the whole repository again.

So just type
Code:
cd ~/bin/bitcoin
git fetch
git checkout v0.16.0
./autogen.sh
./configure CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include -O2" LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib" --enable-upnp-default --with-gui=qt4
make -j2
sudo make install


Title: Re: Upgrade full node to 0.16.0
Post by: gxsuk759 on February 28, 2018, 11:29:24 AM
Thank you, upgrade was successful! :)


Title: Re: Upgrade full node to 0.16.0
Post by: twinboost on March 01, 2018, 02:52:44 AM
Like most things you can do this in multiple ways. What you did last time was compiling from source.
There is no need not to do this again, except you don't need to clone the whole repository again.

So just type
Code:
cd ~/bin/bitcoin
git fetch
git checkout v0.16.0
./autogen.sh
./configure CPPFLAGS="-I/usr/local/BerkeleyDB.4.8/include -O2" LDFLAGS="-L/usr/local/BerkeleyDB.4.8/lib" --enable-upnp-default --with-gui=qt4
make -j2
sudo make install


Thank you. This also helped me update my node