cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE - 1.15.1 - Dependency to libncurses5

Dunfell
Associate

Hello,

I want to use STM32CubeIDE with Ubuntu 24.04 (new LTS), but on this version we don't have libncurses5 but libncurses6.

 

If we install STM32CubeIDE from .deb we have an error because libncurses5 is not installable

If we install STM32CubeIDE from general linux installer, we have no error as it doesn't check the dependency.

 

The problem is, when I want to flash my device using STM32CubeIDE it force the use or arm-none-eabi-gdb provided by ST here: `/opt/st/stm32cubeide_1.15.1/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.linux64_1.0.100.202403111256` so it fails because arm-none-eabi-gdb (from ST) require libncurses5

 

My question is simple:

How to use arm-none-eabi-gdb provided by my computer instead of the version provided by ST .. ?

10 REPLIES 10

I was looking around the internet for a solution to the problem of STM32CubeIDE not working with the latest Linux Mint 22.1 and your solution has been a winner for me with the only notable deviation being that I also had to:-

 

sudo apt install libtinfo5

 

I'm very greatful, THANK YOU! :smiling_face_with_smiling_eyes::smiling_face_with_smiling_eyes: