Skip to main content
Visitor II
October 6, 2024
Question

STM32Cube IDE 1.16.1 unusable on Linux Mint 22

  • October 6, 2024
  • 3 replies
  • 2595 views

I recently updated to Linux Mint 22 (Cinnamon 6.8, kernel 6.8.0, Ubuntu 24.04) by means of the "generic Linux" version. (I had tried without success the Debian package and was advised to use the "generic" instead).

The software works and compiles OK as long as you do not try to launch or debug the result. At this point it stops complaining that it cannot find gdb because libncurses.so.5 is not installed.  The problem lies in the fact that  libncurses5 is deprecated and non longer available (you can get libncurses5-dev but that is of no avail).

At this point I reverted to the old 1.10 version that I still had, and found the same problem.  The only solution seems to be an upgrade of STM32CubeIDE to libncurses6.

Do you have any solution or a forecast for such an upgrade? I hate thinking of switching to  a different processor line.

Tranks

3 replies

Semer CHERNI
ST Employee
October 7, 2024

Hello @feb 

First let me thank you for posting.

The Linux Mint 22 is not supported by STM32CubeIDE.
Only these destributions are supported Linux®: Ubuntu® LTS 20.04 and LTS 22.04, and Fedora® 37

Check the release note RN0114 - Rev 31 section 1.2 Host PC system requirements

KR,
Semer.

Explorer
March 20, 2025

Please update STM32CubeIDE to a more recent version of Linux.

JennyDigital
Graduate
May 19, 2025

I went through this minor trauma and came out victorious:-

 

#!/bin/bash

sudo apt install libtinfo5
wget http://archive.ubuntu.com/ubuntu/pool/universe/n/ncurses/libncurses5_6.3-2ubuntu0.1_amd64.deb && sudo dpkg -i libncurses5_6.3-2ubuntu0.1_amd64.deb && rm -f libncurses5_6.3-2ubuntu0.1_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.1_amd64.deb && sudo dpkg -i libtinfo5_6.3-2ubuntu0.1_amd64.deb && rm -f libtinfo5_6.3-2ubuntu0.1_amd64.deb

I hope that helps.

 

 

Explorer II
September 4, 2025

@JennyDigital you are an absolute lifesaver.

Keep writing to those necro threads, its not just AI bots out there, there are still people who benefit from nuggets of wisdom like this. Thank you again.