Skip to main content
JGrap.1
Associate II
March 23, 2026
Solved

Unable to install CubeMX2 on Linux Lite 6.6

  • March 23, 2026
  • 2 replies
  • 280 views

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.

 

Best answer by Ozone

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.

2 replies

ST Employee
March 23, 2026

HI @JGrap.1 

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


Ozone
OzoneBest answer
Principal
March 23, 2026

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.

JGrap.1
JGrap.1Author
Associate II
March 25, 2026

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.

 

Ozone
Principal
March 25, 2026

> 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.