Skip to main content
TMohr
Associate
August 24, 2021
Solved

Install STM32CubeIDE on Linux / OpenSuse 15.3

  • August 24, 2021
  • 1 reply
  • 3003 views

I try to install STM32CubeIDE on Linux / OpenSuse 15.3.

When downloading the latest RPM (1.7.0) I click "Get Latest", accept and then it automatically downloads the Linux Generic Installer.

How can I get the RPM? Can somebody confirm the problem?

Anyway, I then run the generic installer script and accept all license related points.

I get some error messages:

       libusbx >= 1.0 is needed by st-stlink-server-2.0.2-3.x86_64

 Problem: conflicting requests

 - nothing provides libncurses.so.5 needed by st-stm32cubeide_1.7.0-1.7.0-10852_20210715_0634.x86_64

 - nothing provides st-stlink-server needed by st-stm32cubeide_1.7.0-1.7.0-10852_20210715_0634.x86_64

(try to add '--skip-broken' to skip uninstallable packages)

Regarding libncurses:

~> rpm -qa | grep libncurses

libncurses6-6.1-lp152.7.67.x86_64

libncurses5-6.1-lp152.7.67.x86_64

libncurses 5 is installed. Why does the installer complain?

Regarding libusbx:

The home page of libusbx says it is superseeded by libusb and the latest release from libusbx is from 2014.

libusbx is not available for my distro as RPM any more.

Regarding stlink-server:

I downloaded the st-stlink-server-2.0.2-3.

When I try to install the RPM I get:

# rpm -Uvh st-stlink-server-2.0.2-3-linux-amd64.rpm

error: Failed dependencies:

       libusbx >= 1.0 is needed by st-stlink-server-2.0.2-3.x86_64

The generic .install.sh installs fine, but the STM32CubeIDE installer still shows the same message.

Also, when I add the recommended option --skip-broken (message from the install script), then the install script says it does not know the option --skip-broken.

Quite many inconsistencies, can anybody please give a hint on how to install STM32CubeIDE ?

Thanks for any hints,

Torsten

Best answer by Markus GIRDLAND

Hello Torsten,

It's true what @TDK​  says, it might be an uphill battle. However, if it's something you want to try I highly recommend using the Installation Guide UM2563, it covers both manual installation as well as how to install the packaged installers available on st.com.

1 reply

TDK
Super User
August 25, 2021

The "Generic Linux" and "RPM Linux" download different files for me.

If you're not using a supported version of Linux, might be an uphill battle. Supported versions:

Linux® (tested on Ubuntu® LTS 18.04, LTS 20.04, Fedora® 29 and Fedora® 31, 64 bits)

"If you feel a post has answered your question, please click ""Accept as Solution""."
Markus GIRDLAND
Markus GIRDLANDBest answer
ST Employee
August 25, 2021

Hello Torsten,

It's true what @TDK​  says, it might be an uphill battle. However, if it's something you want to try I highly recommend using the Installation Guide UM2563, it covers both manual installation as well as how to install the packaged installers available on st.com.

TMohr
TMohrAuthor
Associate
August 25, 2021

I did a mistake when downloading the generic linux installation. Yes, the files are different.

The Generic Linux installation works fine, the RPM not, as mentioned above.

I'd still recommend to look at the inconsistencies in the RPM as SuSE is listed as supported in the UM2563.