cancel
Showing results for 
Search instead for 
Did you mean: 

STM32Cube IDE 1.16.1 unusable on Linux Mint 22

feb
Associate

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

4 REPLIES 4
Semer CHERNI
ST Employee

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.

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.

Please update STM32CubeIDE to a more recent version of Linux.

JennyDigital
Associate II

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.

 

 

Indeed, many distros are not supported mainly because the developers have to work with too much.

 

The main hangup seems to be legacy dependencies (primarily libncurses5) and LMDE whilst not supported, does at the time of writing, work OOTB so to speak.

 

Also, I know I'm writing to necro threads, but I believe this is still a relevant matter that others will benefit from and their hairlines too!