cancel
Showing results for 
Search instead for 
Did you mean: 

I can't install ide cube on ubuntu 24

yogui_ricardo
Associate II

When I try to install it I get this error: "The following packages have unmet dependencies:
st-stm32cubeide-1.16.1 : Depends: libncurses5 but is not installable
Depends: libpython2.7 but is not installable
Depends: libwebkit2gtk-4.0-37 but is not installable"
any ideas? thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions

Hi,

These are my notes for installing CubeIDE onto Tumbleweed -

STM32CubeDE installation

Download the generic linux option. The RPM package is problematic!

DON'T use the sudo running the script.

Select NO to install stlink server.

Using sudo & kate, create a desktop file in "/usr/share/applications/st-stm32cubeide-version.desktop". You need to logout - login to finialise it.

Before launching, create the workspace folders required. Copy/ move the projects from the old workspace to the new one.
When launching, select the new workspace, then import the project(s).

I hope this helps.

Kind regards
Pedro

AI = Artificial Intelligence, NI = No Intelligence, RI = Real Intelligence.

View solution in original post

18 REPLIES 18
AScha.3
Chief III

Which version you try?  -> try : generic Linux...

If you feel a post has answered your question, please click "Accept as Solution".
yogui_ricardo
Associate II

I tried it and it gives the same error

 

Hi,

These are my notes for installing CubeIDE onto Tumbleweed -

STM32CubeDE installation

Download the generic linux option. The RPM package is problematic!

DON'T use the sudo running the script.

Select NO to install stlink server.

Using sudo & kate, create a desktop file in "/usr/share/applications/st-stm32cubeide-version.desktop". You need to logout - login to finialise it.

Before launching, create the workspace folders required. Copy/ move the projects from the old workspace to the new one.
When launching, select the new workspace, then import the project(s).

I hope this helps.

Kind regards
Pedro

AI = Artificial Intelligence, NI = No Intelligence, RI = Real Intelligence.
yogui_ricardo
Associate II

I will try, thanks in advance

The link on the Generic Version of STM32CubeIDE is broken. Any other ideas?

I just tried - need login first .

Then....nothing.

I reloaded page.

After ...30 sec ... download begins. (i stopped it then.)

Try again.

 

AScha3_0-1727711153214.png

 

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

I was never able to download Ver 1.16.1 Selecting it, the page reloads, and nothing downloads.  However I could download V 1.16.0 and then do an update. However it still is only partially inoperable. It wants libncurses.so.5 in order to correctly call the loader. It says it cannot find GDB. Details, says it's error is on the wrong  version of libncurses.  I suspect the other two dependencies are an issue as well, but I haven't encountered them yet.  I can tell anyone interested that libncurses appears to be used in all the GUI pulldowns. It will only let a single character be added before I have to select the box again and type the next character.  If I can downgrade to libncurses.so.5, I'm guessing that will mess something up in Cinnamon and/or other desktop applications.  Maybe not.  And if so, where would I find the older version?

Try as I might, I cannot download the latest generic version! WHY can't ST make this "just work"?? They should stop using the obsolete versions and move on. Why is it so hard? Am I frustrated? Yeah... a bit... sorry! I'll keep hacking away.

 

ValereAq
Associate II

Hi,

The last generic version 1.16.1 doesn't work either on Ubuntu 24 LTS, because it requires libncurses 5 which is obsolete. The build & IDE works but not the SWD debug.

" Build works but debug can't work because it requires too old libs :

Could not determine GDB version using command: arm-none-eabi-gdb --version
arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

It reveals which versions are required by STM32CubeIde / arm-none-eabi-gdb build, which seems way too limited :

Could not determine GDB version using command: arm-none-eabi-gdb --version

arm-none-eabi-gdb: /lib/x86_64-linux-gnu/libncurses.so.5: version `NCURSES_5.3.20021019' not found (required by arm-none-eabi-gdb)

arm-none-eabi-gdb: /lib/x86_64-linux-gnu/libncurses.so.5: version `NCURSES_5.1.20000708' not found (required by arm-none-eabi-gdb)

arm-none-eabi-gdb: /lib/x86_64-linux-gnu/libncurses.so.5: version `NCURSES_5.6.20061217' not found (required by arm-none-eabi-gdb)

arm-none-eabi-gdb: /lib/x86_64-linux-gnu/libncurses.so.5: version `NCURSES_5.0.19991023' not found (required by arm-none-eabi-gdb)

arm-none-eabi-gdb: /lib/x86_64-linux-gnu/libtinfo.so.5: version `NCURSES_TINFO_5.0.19991023' not found (required by arm-none-eabi-gdb)

Maybe it's possible to rebuilt the compiler to get a working GDB... "

--
More than a few hundred uA it's way too much... let's keep it under 10 uA or so please...