Bitcoin Forum
August 10, 2025, 09:26:31 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Raspberry Pi 4 Noob Trying for the first time to download Bitcoin Core  (Read 211 times)
stw@stw (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 6


View Profile
December 01, 2022, 10:38:07 PM
Merited by BlackHatCoiner (4), odolvlobo (1), ABCbits (1)
 #1

Hi Guys, Hopefully you can help!

I've downloaded bitcoin-24.0-x86_64-linux-gnu.tar.gz

From bitcoincore.org/bin/bitcoin-core-24.0/

Carefully followed the instructions for Linux on the Bitcoincore & Bitcoinorg webpages.  Run the security checks and all the way to the end, passed sudo install stage. Just can't seam to get the bitcoin-qt to work to start off the magic and run Bitcoin core GUI.

Error message:
bitcoin-qt: cannot execute binary file: Exec format error

I'm wondering if the original download is wrong?

Kit: Rapsberry Pi 4 (8GB Ram), running Ubuntu latest version with an external ssd ready to go.

Any ideas would be a massive help... I'm in a google / youtube tutorial doom spiral

stw
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3072


https://bit.ly/387FXHi lightning theory


View Profile
December 01, 2022, 10:45:00 PM
 #2

Did you install ALL the dependencies and checked they actually installed properly? (some might need tiny modifications, like Berkeley DB and might not have installed correctly).

If you try to reattempt installs, I'd recommend trying to run bitcoind before you do to see if it can run or detect where an error might be.
DaveF
Legendary
*
Offline Offline

Activity: 3934
Merit: 6879


Wheel of Whales 🐳


View Profile WWW
December 01, 2022, 11:09:01 PM
Merited by jackg (1)
 #3

IIRC that is a 32 vs 64 bit error. Are you running 64 bit Ubuntu? It's been a while but I was chasing something similar a while ago.
Another possibility is a dependency like jackg said.
Did you check chmod +x on the file?

-Dave

███████████▄
████████▄▄██
█████████▀█
███████████▄███████▄
█████▄█▄██████████████
████▄█▀▄░█████▄████████
████▄███░████████████▀
████░█████░█████▀▄▄▄▄▄
█████░█
██░█████████▀▀
░▄█▀
███░░▀▀▀██████
▀███████▄█▀▀▀██████▀
░░████▄▀░▀▀▀▀████▀
 

█████████████████████████
████████████▀░░░▀▀▀▀█████
█████████▀▀▀█▄░░░░░░░████
████▀▀░░░░░░░█▄░▄░░░▐████
████▌░░░░▄░░░▐████░░▐███
█████░░░▄██▄░░██▀░░░█████
█████▌░░▀██▀░░▐▌░░░▐█████
██████░░░░▀░░░░█░░░▐█████
██████▌░░░░░░░░▐█▄▄██████
███████▄░░▄▄▄████████████
█████████████████████████

█████████████████████████
████████▀▀░░░░░▀▀████████
██████░░▄██▄░▄██▄░░██████
█████░░████▀░▀████░░█████
████░░░░▀▀░░░░░▀▀░░░░████
████░░▄██░░░░░░░██▄░░████
████░░████░░░░░████░░████
█████░░▀▀░▄███▄░▀▀░░████
██████░░░░▀███▀░░░░██████
████████▄▄░░░░░▄▄████████
█████████████████████████
.
...SOL.....USDT...
...FAST PAYOUTS...
...BTC...
...TON...
BitMaxz
Legendary
*
Offline Offline

Activity: 3710
Merit: 3396


Greediness makes you blind.


View Profile WWW
December 01, 2022, 11:20:57 PM
 #4

If you are running Raspi I suggest install Bitcoin core with Snapd enabled to make bitcoin core work in Raspberry Pi.

There is a guide on Google if search it but you can check the guide below.

- https://snapcraft.io/install/bitcoin-core/raspbian

.
 betpanda.io 
 
ANONYMOUS & INSTANT
.......ONLINE CASINO.......
▄███████████████████████▄
█████████████████████████
█████████████████████████
████████▀▀▀▀▀▀███████████
████▀▀▀█░▀▀░░░░░░▄███████
████░▄▄█▄▄▀█▄░░░█▄░▄█████
████▀██▀░▄█▀░░░█▀░░██████
██████░░▄▀░░░░▐░░░▐█▄████
██████▄▄█░▀▀░░░█▄▄▄██████
█████████████████████████
█████████████████████████
█████████████████████████
▀███████████████████████▀
▄███████████████████████▄
█████████████████████████
██████████▀░░░▀██████████
█████████░░░░░░░█████████
███████░░░░░░░░░███████
████████░░░░░░░░░████████
█████████▄░░░░░▄█████████
███████▀▀▀█▄▄▄█▀▀▀███████
██████░░░░▄░▄░▄░░░░██████
██████░░░░█▀█▀█░░░░██████
██████░░░░░░░░░░░░░██████
█████████████████████████
▀███████████████████████▀
▄███████████████████████▄
█████████████████████████
██████████▀▀▀▀▀▀█████████
███████▀▀░░░░░░░░░███████
██████░░░░░░░░░░░░▀█████
██████░░░░░░░░░░░░░░▀████
██████▄░░░░░░▄▄░░░░░░████
████▀▀▀▀▀░░░█░░█░░░░░████
████░▀░▀░░░░░▀▀░░░░░█████
████░▀░▀▄░░░░░░▄▄▄▄██████
█████░▀░█████████████████
█████████████████████████
▀███████████████████████▀
.
SLOT GAMES
....SPORTS....
LIVE CASINO
▄░░▄█▄░░▄
▀█▀░▄▀▄░▀█▀
▄▄▄▄▄▄▄▄▄▄▄   
█████████████
█░░░░░░░░░░░█
█████████████

▄▀▄██▀▄▄▄▄▄███▄▀▄
▄▀▄█████▄██▄▀▄
▄▀▄▐▐▌▐▐▌▄▀▄
▄▀▄█▀██▀█▄▀▄
▄▀▄█████▀▄████▄▀▄
▀▄▀▄▀█████▀▄▀▄▀
▀▀▀▄█▀█▄▀▄▀▀

Regional Sponsor of the
Argentina National Team
odolvlobo
Legendary
*
Offline Offline

Activity: 4746
Merit: 3646



View Profile
December 01, 2022, 11:56:06 PM
Last edit: December 02, 2022, 12:07:09 AM by odolvlobo
Merited by NotATether (5), LoyceV (4), BlackHatCoiner (4), jackg (3), DaveF (2), ABCbits (2), DdmrDdmr (1), vv181 (1)
 #5

I've downloaded bitcoin-24.0-x86_64-linux-gnu.tar.gz

From bitcoincore.org/bin/bitcoin-core-24.0/

Raspberry Pi 4 is not x86. It is ARM, so you want to download bitcoin-24.0-aarch64-linux-gnu.tar.gz assuming that your version of Ubuntu is 64-bit (otherwise bitcoin-24.0-arm-linux-gnueabihf.tar.gz).

I recommend that you follow this guide: https://raspibolt.org/

Note that the guide assumes that you are using RPi OS Lite 64-bit which is derived from Debian 11. There might be slight differences in the commands.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
NotATether
Legendary
*
Offline Offline

Activity: 2058
Merit: 8804


Search? Try talksearch.io


View Profile WWW
December 02, 2022, 05:27:05 PM
 #6

Exactly what @odolvlobo said. But in case you don't know whether your Ubuntu is 32-bit or 64-bit, you could check it by either checking filename of Ubuntu ISO you download or running command uname -a. If your Ubuntu is 64-bit, you should able to see keyword "64-bit", "arm64", "aarch64" or "armv8".

You mean not all recent-gen Raspberry Pis run arm64 OSes?

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
stw@stw (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 6


View Profile
December 02, 2022, 08:23:31 PM
 #7

Wow! - thank you all very much for the replies!!! Legends!

With all your help it worked! Smiley

The main breakthrough was:
@ETFbitcoin uname -a worked perfectly and let me know it was a 64-bit set-up. Which gave me the confidence to follow @odolvlobo advice regards the alternative file name for the download, you were spot on with recommending aarch64-linux-gnu.tar.gz

Thanks everybody! ...just 11 years of sync to go  Smiley
stw

DaveF
Legendary
*
Offline Offline

Activity: 3934
Merit: 6879


Wheel of Whales 🐳


View Profile WWW
December 02, 2022, 08:58:36 PM
 #8

in your bitcoin.conf file try setting dbcache=3000 it should help with the IBD speed.
Since you have an 8GB pi you should have enough free ram if you are just running bitcoin.
If you have other things open / running setting it to 2000 will also help a lot.

You will have to stop and start it for the change to take effect.

-Dave

███████████▄
████████▄▄██
█████████▀█
███████████▄███████▄
█████▄█▄██████████████
████▄█▀▄░█████▄████████
████▄███░████████████▀
████░█████░█████▀▄▄▄▄▄
█████░█
██░█████████▀▀
░▄█▀
███░░▀▀▀██████
▀███████▄█▀▀▀██████▀
░░████▄▀░▀▀▀▀████▀
 

█████████████████████████
████████████▀░░░▀▀▀▀█████
█████████▀▀▀█▄░░░░░░░████
████▀▀░░░░░░░█▄░▄░░░▐████
████▌░░░░▄░░░▐████░░▐███
█████░░░▄██▄░░██▀░░░█████
█████▌░░▀██▀░░▐▌░░░▐█████
██████░░░░▀░░░░█░░░▐█████
██████▌░░░░░░░░▐█▄▄██████
███████▄░░▄▄▄████████████
█████████████████████████

█████████████████████████
████████▀▀░░░░░▀▀████████
██████░░▄██▄░▄██▄░░██████
█████░░████▀░▀████░░█████
████░░░░▀▀░░░░░▀▀░░░░████
████░░▄██░░░░░░░██▄░░████
████░░████░░░░░████░░████
█████░░▀▀░▄███▄░▀▀░░████
██████░░░░▀███▀░░░░██████
████████▄▄░░░░░▄▄████████
█████████████████████████
.
...SOL.....USDT...
...FAST PAYOUTS...
...BTC...
...TON...
NeuroticFish
Legendary
*
Offline Offline

Activity: 4130
Merit: 6894


Looking for campaign manager? Contact icopress!


View Profile
December 02, 2022, 09:08:05 PM
 #9

You mean not all recent-gen Raspberry Pis run arm64 OSes?

From what I know at least the Raspberry Pi Zero variants, although new, are only on 32bit. But they also are low on RAM and (by far) not suitable for Bitcoin core.

███████████▄
████████▄▄██
█████████▀█
███████████▄███████▄
█████▄█▄██████████████
████▄█▀▄░█████▄████████
████▄███░████████████▀
████░█████░█████▀▄▄▄▄▄
█████░█
██░█████████▀▀
░▄█▀
███░░▀▀▀██████
▀███████▄█▀▀▀██████▀
░░████▄▀░▀▀▀▀████▀
 

█████████████████████████
████████████▀░░░▀▀▀▀█████
█████████▀▀▀█▄░░░░░░░████
████▀▀░░░░░░░█▄░▄░░░▐████
████▌░░░░▄░░░▐████░░▐███
█████░░░▄██▄░░██▀░░░█████
█████▌░░▀██▀░░▐▌░░░▐█████
██████░░░░▀░░░░█░░░▐█████
██████▌░░░░░░░░▐█▄▄██████
███████▄░░▄▄▄████████████
█████████████████████████

█████████████████████████
████████▀▀░░░░░▀▀████████
██████░░▄██▄░▄██▄░░██████
█████░░████▀░▀████░░█████
████░░░░▀▀░░░░░▀▀░░░░████
████░░▄██░░░░░░░██▄░░████
████░░████░░░░░████░░████
█████░░▀▀░▄███▄░▀▀░░████
██████░░░░▀███▀░░░░██████
████████▄▄░░░░░▄▄████████
█████████████████████████
.
...SOL.....USDT...
...FAST PAYOUTS...
...BTC...
...TON...
n0nce
Hero Member
*****
Offline Offline

Activity: 938
Merit: 6000


not your keys, not your coins!


View Profile WWW
December 03, 2022, 12:58:13 AM
 #10

Exactly what @odolvlobo said. But in case you don't know whether your Ubuntu is 32-bit or 64-bit, you could check it by either checking filename of Ubuntu ISO you download or running command uname -a. If your Ubuntu is 64-bit, you should able to see keyword "64-bit", "arm64", "aarch64" or "armv8".
You mean not all recent-gen Raspberry Pis run arm64 OSes?
The full-sized Raspberry Pis are 64-bit and I'm pretty sure you can't even install 32-bit Linux on a 64-bit ARM chip. Meanwhile it should be possible to do so by mistake on x86.

Thanks everybody! ...just 11 years of sync to go  Smiley
Kit: Rapsberry Pi 4 (8GB Ram), running Ubuntu latest version with an external ssd ready to go.
With 8GB of RAM and external SSD, it should go fairly quickly. In my experience on low-end x86 hardware, with good memory setup like yours, it took only a couple days.


Memory upgrade from 4GB to 8GB happened where you see the curve go straight up! Good on you that you were able to snatch an 8GB Pi. Wink

n0nce.eu
vv181
Legendary
*
Offline Offline

Activity: 1932
Merit: 1273


View Profile
December 03, 2022, 11:26:55 AM
 #11

You mean not all recent-gen Raspberry Pis run arm64 OSes?
The full-sized Raspberry Pis are 64-bit and I'm pretty sure you can't even install 32-bit Linux on a 64-bit ARM chip. Meanwhile it should be possible to do so by mistake on x86.

Pretty much all Raspberry Pi models are supports 32-bit, and it is still being as a recommended OS, https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-32-bit.
NeuroticFish
Legendary
*
Offline Offline

Activity: 4130
Merit: 6894


Looking for campaign manager? Contact icopress!


View Profile
December 03, 2022, 09:57:40 PM
 #12

The full-sized Raspberry Pis are 64-bit and I'm pretty sure you can't even install 32-bit Linux on a 64-bit ARM chip. Meanwhile it should be possible to do so by mistake on x86.

It's the other way around: both 32bit and 64bit CPUs support 32bit OS, just in case of 32bit you have some RAM limitations, and only the 64bit CPUs support 64bit OS.
But I am sure you knew that. So I don't know if it was a mistake or you wanted to say/express something else.

███████████▄
████████▄▄██
█████████▀█
███████████▄███████▄
█████▄█▄██████████████
████▄█▀▄░█████▄████████
████▄███░████████████▀
████░█████░█████▀▄▄▄▄▄
█████░█
██░█████████▀▀
░▄█▀
███░░▀▀▀██████
▀███████▄█▀▀▀██████▀
░░████▄▀░▀▀▀▀████▀
 

█████████████████████████
████████████▀░░░▀▀▀▀█████
█████████▀▀▀█▄░░░░░░░████
████▀▀░░░░░░░█▄░▄░░░▐████
████▌░░░░▄░░░▐████░░▐███
█████░░░▄██▄░░██▀░░░█████
█████▌░░▀██▀░░▐▌░░░▐█████
██████░░░░▀░░░░█░░░▐█████
██████▌░░░░░░░░▐█▄▄██████
███████▄░░▄▄▄████████████
█████████████████████████

█████████████████████████
████████▀▀░░░░░▀▀████████
██████░░▄██▄░▄██▄░░██████
█████░░████▀░▀████░░█████
████░░░░▀▀░░░░░▀▀░░░░████
████░░▄██░░░░░░░██▄░░████
████░░████░░░░░████░░████
█████░░▀▀░▄███▄░▀▀░░████
██████░░░░▀███▀░░░░██████
████████▄▄░░░░░▄▄████████
█████████████████████████
.
...SOL.....USDT...
...FAST PAYOUTS...
...BTC...
...TON...
n0nce
Hero Member
*****
Offline Offline

Activity: 938
Merit: 6000


not your keys, not your coins!


View Profile WWW
December 03, 2022, 10:34:19 PM
 #13

The full-sized Raspberry Pis are 64-bit and I'm pretty sure you can't even install 32-bit Linux on a 64-bit ARM chip. Meanwhile it should be possible to do so by mistake on x86.
It's the other way around: both 32bit and 64bit CPUs support 32bit OS, just in case of 32bit you have some RAM limitations, and only the 64bit CPUs support 64bit OS.
But I am sure you knew that. So I don't know if it was a mistake or you wanted to say/express something else.
I know, I know - in theory and also in practice; such as issues with only 4GB of RAM being detected, when 64-bit started to become mainstream and people continued installing 32-bit Windows... Wink
It's just that I remembered that ARM64 chips don't run 32-bit OS, since ARM64 is not a direct superset of ARM32. But it seems I was wrong about this.

Regarding backwards compatibility: the way-to-go is installing 32-bit binaries on a 64-bit OS [on a 64-bit chip]; not installing a 32-bit OS on a 64-bit chip. There's not really a reason to install 32-bit Linux on a 64-bit chip.

n0nce.eu
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!