<p>When updating, just recompile, shut down the running bitcoind, install the new one, and start it again.</p>
<p>The configuration file should be compatible, but it may be good to read the release notes of the new version you're upgrading to (and those of any versions you skipped) if there are features/options you're interested in.</p>

CC BY-SA 4.0
2023-07-22T17:34:59.307Z
Thank you for confirming, I was worried I would have to recompile everytime but no matter. But do I not need to uninstall the old version first? Also, how often do people usually upgrade, with every version?
l30
CC BY-SA 4.0
2023-07-24T13:19:14.453Z
You do not need to uninstall the old version, it will just overwrite the files that need to be updated. You probably want to update at the latest when the version you are running hits [Maintenance End](https://bitcoincore.org/en/lifecycle/). Many node operators update to the newest version soon after the release, but that’s really up to you.
Murch
CC BY-SA 4.0
2023-07-22T16:38:40.740Z
2023-07-22T16:38:40.740Z
Pieter Wuille
<p>edit: I misread question but here are instructions to upgrade Bitcoin Core using the binaries on bitcoincore.org.</p>
<p>You'll need to shut down bitcoind first.</p>
<p>New Bitcoin Core versions are announced on <a href="https://bitcoincore.org/en/releases/" rel="nofollow noreferrer">bitcoincore.org</a>.</p>
<p>Then the exact commands to upgrade are going to depend on your operating system.</p>
<p>The binaries for a particular release will be available on that site e.g. for v26 they are <a href="https://bitcoincore.org/bin/bitcoin-core-26.0/" rel="nofollow noreferrer">here</a>.</p>
<p>You can enter on Linux/Gnu:</p>
<p><code>wget https://bitcoincore.org/bin/bitcoin-core-26.0/bitcoin-26.0-x86_64-linux-gnu.tar.gz</code></p>
<p>You can untar using:</p>
<p><code>tar xzf bitcoin-26.0-x86_64-linux-gnu.tar.gz</code></p>
<p>The new untarred binaries will then be stored in <code>/usr/bin</code> or <code>/usr/local/bin</code> and you need to copy <code>bitcoind</code>, <code>bitcoin-cli</code> and <code>bitcoin-qt</code> into your <code>./bitcoin</code> directory and remove the old <code>bitcoind</code>, <code>bitcoin-cli</code> and <code>bitcoin-qt</code> binaries from that directory.</p>
<p>e.g. <code>sudo mv bitcoind bitcoin-cli bitcoin-qt ./bitcoin</code> from within <code>/usr/bin</code></p>
<p>A couple of video tutorials from 402 Payment Required on upgrading Bitcoin Core are here (<a href="https://www.youtube.com/watch?v=kaG_rGvBUlM&amp;pp=ygUeNDAyIHBheW1lbnQgcmVxdWlyZWQgdXBncmFkaW5n" rel="nofollow noreferrer">1</a>, <a href="https://www.youtube.com/watch?v=LbBzEy385LI&amp;t=2s&amp;pp=ygUeNDAyIHBheW1lbnQgcmVxdWlyZWQgdXBncmFkaW5n" rel="nofollow noreferrer">2</a>)</p>

CC BY-SA 4.0
2024-02-03T15:07:56.557Z
2024-02-03T15:07:56.557Z
Michael Folkson
<p>I compiled Bitcoin Core from source following instructions. I then installed it and that all went well, but now I've realised, I have no idea how to update it when the time comes! (this is all on Debian 12 by the way).</p>
<p>I checked out the version that I wanted, configured/make/installed, and so although it's running well at the moment on 25.0, I'm wondering what I'll need to do when the time comes to update.</p>
<p>Also what about config file changes?</p>
<p>Thank you!</p>

<bitcoin-core><full-node><nodes><linux>
How to update Bitcoin Core if compiled from source?
l30
# How to update Bitcoin Core if compiled from source?

(Asked by: username_0 on 2023-07-22)

I compiled Bitcoin Core from source following instructions. I then installed it and that all went well, but now I've realised, I have no idea how to update it when the time comes! (this is all on Debian 12 by the way).

I checked out the version that I wanted, configured/make/installed, and so although it's running well at the moment on 25.0, I'm wondering what I'll need to do when the time comes to update.

Also what about config file changes?

Thank you!

**Tags:** bitcoin-core, full-node, nodes, linux


---

## 2 answers

### Answer by username_1 on 2023-07-22. Score: 3

When updating, just recompile, shut down the running bitcoind, install the new one, and start it again.

The configuration file should be compatible, but it may be good to read the release notes of the new version you're upgrading to (and those of any versions you skipped) if there are features/options you're interested in.

> **Comments:**
> **username_0**: Thank you for confirming, I was worried I would have to recompile everytime but no matter. But do I not need to uninstall the old version first? Also, how often do people usually upgrade, with every version?  
> **username_2**: You do not need to uninstall the old version, it will just overwrite the files that need to be updated. You probably want to update at the latest when the version you are running hits [Maintenance End](https://bitcoincore.org/en/lifecycle/). Many node operators update to the newest version soon after the release, but that’s really up to you.  

---

### Answer by username_3 on 2024-02-03. Score: 0

edit: I misread question but here are instructions to upgrade Bitcoin Core using the binaries on bitcoincore.org.

You'll need to shut down bitcoind first.

New Bitcoin Core versions are announced on [bitcoincore.org](https://bitcoincore.org/en/releases/).

Then the exact commands to upgrade are going to depend on your operating system.

The binaries for a particular release will be available on that site e.g. for v26 they are [here](https://bitcoincore.org/bin/bitcoin-core-26.0/).

You can enter on Linux/Gnu:

`wget https://bitcoincore.org/bin/bitcoin-core-26.0/bitcoin-26.0-x86_64-linux-gnu.tar.gz`

You can untar using:

`tar xzf bitcoin-26.0-x86_64-linux-gnu.tar.gz`

The new untarred binaries will then be stored in `/usr/bin` or `/usr/local/bin` and you need to copy `bitcoind`, `bitcoin-cli` and `bitcoin-qt` into your `./bitcoin` directory and remove the old `bitcoind`, `bitcoin-cli` and `bitcoin-qt` binaries from that directory.

e.g. `sudo mv bitcoind bitcoin-cli bitcoin-qt ./bitcoin` from within `/usr/bin`

A couple of video tutorials from 402 Payment Required on upgrading Bitcoin Core are here ([1](https://www.youtube.com/watch?v=kaG_rGvBUlM&pp=ygUeNDAyIHBheW1lbnQgcmVxdWlyZWQgdXBncmFkaW5n), [2](https://www.youtube.com/watch?v=LbBzEy385LI&t=2s&pp=ygUeNDAyIHBheW1lbnQgcmVxdWlyZWQgdXBncmFkaW5n))


---

