2025-10-12 4:44 AM
Hello,
Since I installed a new version of linux mint (22.2), I can't upload my programs to the MCU.
CubeIde show this error:
Could not determine GDB version using command: arm-none-eabi-gdb --version
arm-none-eabi-gdb: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
Searching in my system, I found libncurses.so.6, not libncurses.so.5
I read in the forum that I need to install libncurses5, but is not present in my repositories.
I found a possible solution adding "universe" repositories
sudo add-apt-repository universe
sudo apt install libncurses5
but libncurses5 still missing
I found a post from Semer Cherni (ST Employee) that say that "The Linux Mint 22 is not supported by STM32CubeIDE"
This post was written on 2024-10-07 12:12 PM
Is the problem still active, or I need to go back to the old version?
Thanks
2025-10-12 9:13 AM
AFAIK you can find and install other arm-none-eabi-gdb version that does not have this defect (dependency on obsolete libncurses). There was a post in this forum but I could not find it.
2025-10-13 1:25 AM - edited 2025-10-13 5:02 AM
Hello @xisco
Based on RN0114 - Rev 35 :STM32CubeIDE 1.19.0 is supported in the following OS
• Windows® 10 and 11, 64 bits (x64)
• Linux®: Ubuntu® LTS 22.04 and LTS 24.04, and Fedora® 41
• macOS® 14 (Sonoma), macOS® 15 (Sequoia)
Note: Windows is a trademark of the Microsoft group of companies.
Linux® is a registered trademark of Linus Torvalds.
Ubuntu® is a registered trademark of Canonical Ltd.
Fedora® is a trademark of Red Hat, Inc.
macOS® is a trademark of Apple Inc., registered in the U.S. and other countries and regions
Linux Mint 22.2 is not explicitly listed among the supported operating systems.
However, try to install STM32CubeIDE 1.19.0 using deb_bundle installer, it should install automatically all needed libraries including libncurses5.
THX
Ghofrane
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.
2025-10-13 3:18 PM
Hello, and thanks for your post
Unfortunately I have the same problem with both installers, Generic Linux and deb_bundle.
Regards
2025-10-13 3:26 PM
Hello,
Thanks for posting. I haven't found one that's easy to install yet.
When I do, I'll let you know.
Regards