cancel
Showing results for 
Search instead for 
Did you mean: 

Install CubeIDE on Raspberry Pi 5

chisatholm
Associate III

Has anyone had success installing the Cube IDE on a Raspberry Pi 5?  

I first got the error message "Installation dir cannot be temporary one: /home/my_name/Downloads/makeself_dir_o70WRx"

I tried various workarounds suggested by Gemini, ultimately creating new directory

/opt/stm32_installer

moving the unzipped file to this new directory and then trying 

.../opt/stm32_installer$ sudo ./file_name.sh

It went right ahead and created a new temporary folder in opt/stm32_installer and failed in the same way again!

If anyone has succeeded in getting the Cube IDE to work on a R Pi 5, please let me know how you did it.

Thanks for reading this far.

7 REPLIES 7
Andrew Neil
Super User

What OS are you using on your Raspberry Pi ?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
AScha.3
Super User

>Has anyone had success installing the Cube IDE on a Raspberry Pi 5?

No. 

Because nonsense - Pi is an Arm core , but CubeIde has NO version thats compiled for Arm.

So - impossible. Thats it.

If you feel a post has answered your question, please click "Accept as Solution".
mfgkw
Senior III

Ascha.3 is completely right.

 

An additional remark: in theory it is possible to run the binaries for CubeIDE in an ARM system with an emulator like Qemu.

 

But this is far beyond the resources you have with an Raspberry.

Even if STM would offer an ARM compiled CubeIDE the Raspi would have not enough CPU power, RAM and IO performance.

 

Nevertheless there are more and more ARM systems which would benefit from this...

But when I see how hard it is generate a simple main.cpp I have no hope.

Thanks for your reply and apologies for my omission.

The OS I am using is Ubuntu Desktop 25.10 (64 bit) .

> But this is far beyond the resources you have with an Raspberry.

> Even if STM would offer an ARM compiled CubeIDE the Raspi would have not enough CPU power, RAM and IO

> performance.

But when I see how hard it is generate a simple main.cpp I have no hope.

 

What a bunch of baloney! I compile main.cpp files ALL the time on a pi5. A pi is DESIGNED to compile C/C++ files. It comes with built-in compilers and build tools. If we had the source code for the STM32CudeIDE, we could compile it and it would very likely run fine on a Pi. i don't know where you're coming from on the Pi not having enough peripherals etc. It has 2 x USB 3 and 2 x USB 2.0 ports. The comments above sounds like the idle words of speculator.

 

Compiling a main.cpp file is as simple as g++ main.cpp -o output in its most basic form.

Pavel A.
Super User

CubeIDE 2.1 supports ARM64 (per the release notes) - but Ubuntu 25 isn't a supported OS yet.

>If we had the source code for the STM32CudeIDE, we could compile it and it would very likely run fine on a Pi.

Yes, this is downside of using proprietary closed source software.

 


@finally7586 wrote:

If we had the source code for the STM32CudeIDE, we could compile 


CubeIDE is Eclipse - and that is open-source.

You would miss the custom add-on work ST has done - particularly on debug - but it is certainly possible to develop and debug for STM32 using vanilla Eclipse.

Been there, done that, got the scars.

I used resources from here: https://mcuoneclipse.com/

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.