MultiversX Tracker is Live!

Is it possible to switch between the precompiled Bitcoin Core package on bitcoin.org and the Bitcoin Core snap?

Bitcoin Reddit

More / Bitcoin Reddit 289 Views

I'm currently running Bitcoin Core using the precompiled tar.gz that I downloaded off bitcoin.org, but I'm tired of having to update it manually. Is it possible to switch between the precompiled package and the snap package without having to redownload all of the blocks?

On top of that bitcoin.org appears to be down so I don't know where else to download a safe copy of Bitcoin Core

EDIT: Solution found. Works on my Ubuntu install. Here are the steps for switching from the precompiled binary to the Snap package. These steps also did not break my LND install.

  1. Stop Bitcoin Core using bitcoin-cli stop. Be sure to also stop any programs dependent on Bitcoin Core running, like LND or C-Lightning.
  2. Download the Snap package: sudo snap install bitcoin-core
  3. Binaries are installed to /snap/bitcoin-core/current/bin. You will need to replace the binaries found in /usr. First, find out where the currently installed Bitcoin Core binary is with whereis bitcoind and whereis bitcoin-cli. These commands tell you where these commands are located. Repeat this process for bitcoin-qt if you need the GUI.
  4. Change the directory to the directory where bitcoind and bitcoin-cli are installed.
  5. Delete these binaries using sudo rm bitcoind && sudo rm bitcoin-cli. Also remove bitcoin-qt as needed with sudo rm bitcoin-qt
  6. Symlink them to the binaries installed by Snap: sudo ln /snap/bitcoin-core/current/bin/bitcoind bitcoind -s && sudo ln /snap/bitcoin-core/current/bin/bitcoin-cli bitcoin-cli -s. For the GUI, you also need sudo ln /snap/bitcoin-core/current/bin/bitcoin-qt bitcoin-qt -s.
submitted by /u/NateNate60
[link] [comments]
Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments