Skip to main content
hj_it
Associate II
December 21, 2019
Question

Installing STM32CubeIDE on OpenSuse Tumbleweed

  • December 21, 2019
  • 14 replies
  • 10855 views

Installing STM32CubeMx on OpenSuse Tumbleweed using

/st-stm32cubeide_1.1.0_4551_20191014_1140_amd64.rpm_bundle.s

is missing libusbx

sudo ./st-stm32cubeide_1.1.0_4551_20191014_1140_amd64.rpm_bundle.sh 
[sudo] Passwort für root: 
Creating directory st-stm32cubeide_1.1.0_4551_20191014_1140_amd64.rpm_bundle.sh.root
Verifying archive integrity... All good.
Uncompressing STM32CubeIDE installer 100% 
Verifying... ################################# [100%]
Preparing... ################################# [100%]
 package segger-jlink-udev-rules-6.44c-4.noarch is already installed
error: Failed dependencies:
 libusbx >= 1.0 is needed by st-stlink-server-1.2.0-3.amd64
Verifying... ################################# [100%]
Preparing... ################################# [100%]
 package st-stlink-udev-rules-1.0.2-2.noarch is already installed
error: Failed dependencies:
 st-stlink-server is needed by st-stm32cubeide_1.1.0-1.1.0-4551_20191014_1140.x86_64

libusbx is not available for OpenSuse. On https://sourceforge.net/projects/libusbx/

SourceForge: libusbx is OBSOLETE and has been superseded by http://libusb.info

What can I do?

14 replies

GBlyt.1
Visitor II
February 15, 2020

I am trying to install STM32 software on openSUSE Leap 15.1 and previously on 15.0

Same problem with STMCubeIDE

I tried to install libusbx from the link above. The source code will ./configure & make but during make install it has no permission to remove the native library

cannot remove '/usr/local/lib64/libusb-1.0.so.0.1.0': Permission denied

Well I could manually but it will mess up other software which installed correctly.

GBlyt.1
Visitor II
February 15, 2020

Normally I would expect to be able to edit the .sh file as a shell script and perhaps remove the dependency.

Unfortunately the .sh file is not a shell script as it should be, it is something I cannot open, modify or correct.

hj_it
hj_itAuthor
Associate II
February 15, 2020

Thank you anyway for trying to help.

Unfortunately nobody at ST takes care of this problem.

miyago
Visitor II
March 14, 2020

@hj​  I use OpenSUSE leap 15.1 and had the exact same problem as you with the rpm bundle.

error: Failed dependencies:
 libusbx >= 1.0 is needed by st-stlink-server-1.2.0-3.amd64

I used STM32CubeIDE Generic Linux Installer instead and it worked without any problems.

DYu.1
Associate
September 6, 2020

I try to install STM32CubeIDE 1.4.0

Unfortunately,

0693W000003QrTUQA0.png

libusbx is no more maintained. Waiting ST for upgrade st-link server

OAush.1
Visitor II
May 4, 2021

A year has passed, still the same problem. Is there any workaround to install STM32CubeIDE on openSUSE?

hj_it
hj_itAuthor
Associate II
July 8, 2021

I gave up with Linux. But still interested !

JDavi.14
Visitor II
February 1, 2023

It's been 3 years and still no solution? I might be making a move to a different vendor if this keeps up.

We have transitioned away from Windows 100% now, so while we do have 2 ubuntu based machines, without proper RPM support my developers will walk away from our Cortex based projects.

Can someone from ST please tell us why its so hard to change to libusbx depend?

I also had to change a lot of the install shell code to ignore the $licence section because there was no way to accept on Xterm or Terminology.

hj_it
hj_itAuthor
Associate II
February 2, 2023

Should I take the time and try it again?

JDavi.14
Visitor II
February 2, 2023

So I got it to install. I used the generic installer, opened with Sudo and allowed it to ignore the dependencies. At the licence pressing q then y works.

I have attempted one hello world but it doesn't seem to compile so I'll fight for another few days or just spin up win-doze on a VM

Pavel A.
Super User
February 2, 2023

This is the situation with Linux. Linux is free. CubeIDE is free too. Your time and effort has price. You decide whether it's worth it.

hj_it
hj_itAuthor
Associate II
February 2, 2023

:smiling_face_with_smiling_eyes: