MCUxpresso does not install on ubuntu 24.04

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MCUxpresso does not install on ubuntu 24.04

1,243 次查看
bp1979
Senior Contributor I

Hi, I am trying to install mcuxpresso on ubuntu 24.04, but get a dependency problem on libncurses.

Any tricks to bypass this problem?

bpr@spatiebas.internal@legion-ubuntu:~/Downloads$ sudo ./mcuxpressoide-11.9.1_2170.x86_64.deb.bin
Verifying archive integrity... 100% All good.
Uncompressing mcuxpressoide installer 100%
Installing...
(Reading database ... 215605 files and directories currently installed.)
Preparing to unpack JLink_Linux_x86_64.deb ...
Removing /opt/SEGGER/JLink ...
Unpacking jlink (7.963) over (7.963) ...
Setting up jlink (7.963) ...
Updating udev rules via udevadm...
OK
Verifying archive integrity... 100% All good.
Uncompressing LinkServer installer 100%
Installing...
Selecting previously unselected package linkserver.
(Reading database ... 215605 files and directories currently installed.)
Preparing to unpack LinkServer_1.5.30.x86_64.deb ...
Unpacking linkserver (1.5) ...
dpkg: linkserver: dependency problems, but configuring anyway as you requested:
linkserver depends on libncurses5; however:
Package libncurses5 is not installed.

Setting up linkserver (1.5) ...
INFO: Created LinkServer symbolic link on /usr/local/LinkServer
INFO: Created MCU-LINK_installer symbolic link on /usr/local/LinkServer_1.5.30/MCU-LINK_installer
INFO: Created lpcscrypt symbolic link on /usr/local/LinkServer_1.5.30/lpcscrypt
(Reading database ... 216255 files and directories currently installed.)
Preparing to unpack MCU-Link.deb ...
Unpacking mcu-link_installer (3) over (3) ...
Setting up mcu-link_installer (3) ...
Removing MCU-LINK_installer symbolic link...
INFO: Created MCU-LINK_installer symbolic link on /usr/local/MCU-LINK_installer
(Reading database ... 216255 files and directories currently installed.)
Preparing to unpack LPCScrypt.deb ...
Unpacking lpcscrypt (2.1.3) over (2.1.3) ...
Setting up lpcscrypt (2.1.3) ...
Renaming old lpcscrypt directory...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
linkserver
0 upgraded, 0 newly installed, 1 to remove and 23 not upgraded.
After this operation, 34.7 MB disk space will be freed.
(Reading database ... 216255 files and directories currently installed.)
Removing linkserver (1.5) ...
Removing LinkServer symbolic link...
Selecting previously unselected package mcuxpressoide.
(Reading database ... 215605 files and directories currently installed.)
Preparing to unpack mcuxpressoide-11.9.1_2170.x86_64.deb ...
Unpacking mcuxpressoide (11.9.1) ...
dpkg: mcuxpressoide: dependency problems, but configuring anyway as you requested:
mcuxpressoide depends on libncurses5; however:
Package libncurses5 is not installed.
mcuxpressoide depends on libncursesw5; however:
Package libncursesw5 is not installed.

Setting up mcuxpressoide (11.9.1) ...
INFO: Created LinkServer symbolic link on /usr/local/mcuxpressoide-11.9.1_2170/ide/LinkServer
INFO: Created mcuxpressoide symbolic link on /usr/local/mcuxpressoide
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu5) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
INFO: Installation directory: /usr/local/mcuxpressoide-11.9.1_2170
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
mcuxpressoide
0 upgraded, 0 newly installed, 1 to remove and 23 not upgraded.
After this operation, 2,633 MB disk space will be freed.
(Reading database ... 230041 files and directories currently installed.)
Removing mcuxpressoide (11.9.1) ...
Removing mcuxpressoide symbolic link...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu5) ...
Rebuilding /usr/share/applications/bamf-2.index...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libpython3.8 is already the newest version (3.8.19-1+noble2).
0 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.

0 项奖励
回复
3 回复数

563 次查看
bp1979
Senior Contributor I

it's solved btw, just fresh installed it on 24.04

0 项奖励
回复

1,226 次查看
AdrianOltean
NXP Employee
NXP Employee

Ubuntu 24.04 is not officially supported. Note that MCUXpresso IDE is shipped with unmodified version of Arm GNU Toolchain that actually has the libncurses5/libncursesw5 dependency. I recommend you install the two libs before invoking the MCUXpresso IDE installer. You should find on the web plenty of details on how to achieve this.

Thanks,

Adrian

0 项奖励
回复

1,222 次查看
bp1979
Senior Contributor I

Ah, that explains it in one sentence

 

Alright, will spin up a virtual machine instead. Thx for the reply!

0 项奖励
回复