cancel
Showing results for 
Search instead for 
Did you mean: 

Installing STM32CubeIDE on OpenSuse Tumbleweed

hj
Associate II

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?

15 REPLIES 15
GBlyt.1
Associate

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
Associate

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
Associate II

Thank you anyway for trying to help.

Unfortunately nobody at ST takes care of this problem.

miyago
Associate

@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

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
Associate

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

hj
Associate II

I gave up with Linux. But still interested !

JDavi.14
Associate II

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
Associate II

Should I take the time and try it again?