cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to install CubeMX2 on Linux Lite 6.6

JGrap.1
Associate III

Hello,

I tried to install the STM32CubeMX2 on Linux Lite 6.6 which is base on Ubuntu 22.04, but get unsupport file error.

I double check that I allow this file to run as a program.

Screenshot_2026-03-23_14-45-22.png

Screenshot_2026-03-23_14-40-53.png

Is there any guide on how to install it on Linux?

 

Thank you.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Ozone
Principal III

This installer is intended to run as a manually started user application, not a package to be installed by apt.

You would just need to run "./stm32cube...Linux-installer" from the commandline.

View solution in original post

4 REPLIES 4
Oussama_TROUDI
ST Employee

HI @JGrap.1 

Yes, you can refer to STM32CubeMX2 Installation process documentation: Install on Linux 



In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Ozone
Principal III

This installer is intended to run as a manually started user application, not a package to be installed by apt.

You would just need to run "./stm32cube...Linux-installer" from the commandline.

Hi Ozone,

Your suggestion is right.

At first, I've got error say that can't open file libwebkit2gtk-4.1.

After install this lib, I now can install the STM32CubeMX2.

 

Thank you.

 

> At first, I've got error say that can't open file libwebkit2gtk-4.1.

I think this is due to very limited testing on ST's side.
I recently saw a review of the new Cube V2.0 IDE, which revealed even greater issues with the Linux installation.

By the way, other independant providers <do> supply their Linux version as apt package (e.g. the Brave browser), although you manually need to add their repository.
Not sure why ST did not go this route, and instead provides a binary.