Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE failed to import examples on Linux

Associate III


I'm using STM32CubeIDE on latest Ubuntu:

STM32CubeIDE Version: 1.14.1, Build: 20064_20240111_1413 (UTC).

If I try to click "Import STM32Cube example", it shows next window with "target selection" which always fails (can only cancel, no selection possible, see below). Just in case, CubeMX works fine.

Could anyone from ST comment if I miss something or it is a bug on Linux platform?

STM32CubeIDE linux.jpg

Mahmoud Ben Romdhane
ST Employee

Hello @Lex ,

First let me thank you for posting.

This issue is under investigation, and I will get back to you as soon as possible.




Hello @Lex ,

Further to our discussion, I was able to import STM32CUBE example on Ubuntu 23.10, 64 bit.

I just normally install STM32CubeIDE.

Maybe the issue is related to your environment that's why I recommend uninstalling and reinstalling the software.

I suggest also that you provide the log.file.

You are able also to accede to the example through: 

File ; New ; STM32 Project ; Set the Network Connection ; Example Selector.







Some clarification:

- .deb installer is missing dependencies on default Ubuntu installation. thus can't be used without hacks.

- It is possible to install STM32Cube IDE by using a generic Linux installer.

sudo sh ./

However importing examples does not work (verified once more by uninstalling and reinstalling again the latest version)

Good morning,

the problem has been happening to me since I installed the latest version of Kubuntu which manages the new wayland interface at the X graphics server post.

Does it have anything to do with it?

Thank you