Skip to main content
MQi.1
Senior II
September 10, 2020
Solved

How to install STM32CubeIDE on Ubuntu?

  • September 10, 2020
  • 16 replies
  • 59501 views

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

but, it doesn't work.

This topic has been closed for replies.
Best answer by Julien D

Weird, I've been able to download the STM32CubeIDE Generic Linux Installer without troubles. This is actually my preferred one since it is the only installation procedure allowing self-update application. Other installation modes will stay on a fixed version. There are pros and cons to this depending on your needs.

The installation guide is under Resources / User Manuals / UM2563.

Once zip downloaded and extracted you get a .sh script file.

Make it executable (chmod +x ***.sh) and launch it from a terminal.

For Ubuntu, either:

sudo ./st-stm32cubeide_1.4.0_7511_20200720_0928_amd64.deb_bundle​.sh

or

./st-stm32cubeide_1.4.0_7511_20200720_0928_amd64​.sh

The 2nd will ask you later to execute some install steps as sudo. This is required since STLink-Server, Udev rules for STLink/Jlink installation need to change some basic system settings.

HTH :)

16 replies

Julien D
ST Employee
September 14, 2020

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

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.
MQi.1
MQi.1Author
Senior II
September 16, 2020

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

https://ibb.co/9ystFMV

Visitor II
May 31, 2024

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