cancel
Showing results for 
Search instead for 
Did you mean: 

How to install STM32CubeIDE on Ubuntu?

MQi.1
Senior II

I found links here:https://www.st.com/en/development-tools/stm32cubeide.html

but, it doesn't work.

16 REPLIES 16
MQi.1
Senior II

I deleted the directories, and downloaded again, unzip--> chmod +x --> sudo ...

it was the same:

0693W000003RTiwQAG.png

MQi.1
Senior II

There was some advance, I found that it was not "sudo ./st-stm32cubeide*", but "sudo sh ./st-stm32cubeide*"

at the end of the prompt in CLI, there were "I accept" and "I don't accept", but one should careful on clicking "Enter", otherwise you maybe slide over the option, and have to "arrow up --> Enter " and select again.

But it still prompt something missed, so I am still looking for solution.

MQi.1
Senior II

Now, it was ok.

0693W000003RTpxQAG.png

MQi.1
Senior II

I have to say, compared with installing experience of Simplicity Studio 5, the Linux edition of STM32CubeIDE still has some place for improvement.

Julien D
ST Employee

Well not exactly the same. Those are actually basic Unix mistakes with shell usage.

In short, when you enter a command, the shell does a lookup in paths declared in $PATH variable.

Since the current directory, aka '.' (dot) is never (or should never be) part of this variable, the shell returns 'command not found'.

See "echo $PATH" or 'env' to control what is in your environment.

To make it working I suggested you the simply use:

./st-stm32cubeide_1.4.0_7511_20200720_0928_amd64​.sh

MQi.1
Senior II

I can see the icon now, and I could launch STM32CudeIDE there.​

https://ibb.co/9ystFMV

QuintinUmi
Associate

Hi MQi.1,

You may try

 

sudo chmod 777 st-stm32cubeide_1.15.1_21094_20240412_1041_amd64.sh

and use 'ls' to check if the install file turns green, and then use

sudo ./st-stm32cubeide_1.15.1_21094_20240412_1041_amd64.sh