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

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

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

:smiling_face_with_smiling_eyes:

hj
Associate II

rpm package asks for yum to install

License accepted.
error: Failed dependencies:
        libusbx >= 1.0 is needed by st-stlink-server-2.1.0-1.x86_64
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
        package st-stlink-udev-rules-1.0.3-2.x86_64 is already installed
./setup.sh: Zeile 21: yum: Kommando nicht gefunden.
./setup.sh: Zeile 21: yum: Kommando nicht gefunden.

still the libusbx dependenci

hj
Associate II

st-stm32cubeide_1.11.2_14494_20230119_0724.unsigned_amd64.sh

installs the software and starts correct.

May be libusb is missing later when trying to connect to segger

Windows and MacOS are free too Pavel so I'm not sure you understand the ecosystem very well. Thank you for your helpful comment though.