cancel
Showing results for 
Search instead for 
Did you mean: 

Problem installing STM32CubeIDE on Debian Bookworm

SElli.11
Associate III

Hi,

I recently downloaded the general Linux install package en.st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.sh.zip from https://www.st.com/en/development-tools/stm32cubeide.html.
Using Ark, this was extracted into subfolder ~/Downloads/en.st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.sh. I then "cd" into that folder and started the installation using "sudo sh st-stm32cubeide_1.16.1_22882_20240916_0822_amd64.sh". At the prompt "STM32CubeIDE install dir? [/opt/st/stm32cubeide_1.16.1_2]" I typed "y". I thought that the installer was suggesting the directory that it would default into which it would install the software. The rest of the installation seemed to progress "normally". When I subsequently tried to start up Stm32CubeIDE from /Applications<Launcher>/Development/STMicroelectronics Stm32CubeIDE 1.16.1, [BTW, the icon there is just that of a sheet of grey paper with the top right hand corner folded over] the system responded with the following notification.

"Launching STMicroelectronics
STM32CubeIDE 1.16.1 (Failed)
Could not find the program 'y/stm32cubeide_wayland'"

On realising my mistake, I performed a second installation, this time supplying "/opt/st/stm32cubeide_1.16.1" at the "STM32CubeIDE install dir? [/opt/st/stm32cubeide_1.16.1]" prompt. This time, the installer placed the software into the suggested directory, "/opt/st/stm32cubeide_1.16.1". I verified this using Dolphin. Now, when I try to start up STM32CubeIDE from /Applications<Launcher>/Development/STMicroelectronics Stm32CubeIDE 1.16.1, the system still(!) responds with the error notification shown above.

I also right clicked on the Applications launcher, selected "Edit Applications" from the pop up menu, and inspected the "properties" for the IDE. The General tab has the following.

Name: STMicroelectronics STM32CubeIDE 1.16.1
Description: STM32CubeIDE
Comment: STMicroelectronics STM32CubeIDE 1.16.1
Environment Variables: <blank>
Program: /opt/st/stm32cubeide_1.16.1/stm32cubeide_wayland
Command-Line Arguments: %F
The "Enable launch feedback" box is ticked.

The Advanced tab has the following.

Work path: /opt/st/stm32cubeide_1.16.1/
The rest of the fields/boxes are blank.

How do I correct this situation such that clicking on /Applications<Launcher>/Development/STMicroelectronics Stm32CubeIDE 1.16.1 will start the IDE ?

Stuart

0 REPLIES 0