[Solved] Installing KSP Principia mod in Debian 12.8

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
Silent Observer
Posts: 82
Joined: 2024-09-01 12:59
Has thanked: 4 times
Been thanked: 8 times

[Solved] Installing KSP Principia mod in Debian 12.8

#1 Post by Silent Observer »

I've (earlier this week) switched from Kubuntu 22.04.5 to Debian 12.8 KDE. I'm running a Gigabyte 97 series MB, FX8350 (8 cores, 4.1 GHz), 32 GB RAM, RTx2070, and 3.125 GB of storage (more than half full with old cruft I don't have time or motivation to sort through).

In Kubuntu, I had installed the HWE (Hardware Enablement) package, mainly to get a newer version of LLVM for a Kerbal Space Program mod that depended on a one of the math libraries. That HWE had me most recently running kernel 6.15.0-generic, while the newest kernel I see in Debian bookworm-backports is 6.12. I haven't tried installing Principia since switching; it may be okay with any version 6 kernel (Kubuntu 22.04 was still running v. 5 when I installed HWE). Can anyone confirm if KSP Principia mod will require upgrading to a newer kernel, or whether there are good reasons not to do so?
Last edited by Silent Observer on 2025-01-25 14:10, edited 2 times in total.

Silent Observer
Posts: 82
Joined: 2024-09-01 12:59
Has thanked: 4 times
Been thanked: 8 times

Re: Newer kernels from Backports -- any reason not to?

#2 Post by Silent Observer »

I've just confirmed that Principia now requires libc++abi1-17, libc++1-17, and libunwind-17 or later. In Kubuntu, those libraries were part of (or dependencies of) the LLVM package, but I don't see llvm19 listing those as dependencies. Suggestions?

Aki
Global Moderator
Global Moderator
Posts: 4259
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 124 times
Been thanked: 576 times

Re: Newer kernels from Backports -- any reason not to?

#3 Post by Aki »

I would suggest changing the subject of the first topic from "Newer kernels from backports -- any reason not to?" to "Installing Principia in Debian" (or something like that).

Maybe in a follow-up message you can explain what Principia is for a better understanding of a wider audience.

--
Moved to "Installation" sub-forum.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Silent Observer
Posts: 82
Joined: 2024-09-01 12:59
Has thanked: 4 times
Been thanked: 8 times

Re: Installing KSP Principia mod in Debian 12.8

#4 Post by Silent Observer »

Thanks, Aki. I titled it the way I did because I thought it might be a kernel support problem with the needed libraries. I've retitled it.

For those who don't play Kerbal Space Program (kind of an orphan game now, except that it's had more development from users than from the creators for several years even before the studio was shut down), Principia is a mod for KSP that replaces the oversimplified "sphere of influence" gravity model in the original game with n-body simulation, which then allows things like sun-synchronous low Earth orbit (with other mods that replace the Kerbal star system with our own) and Lagrange metastable three-body points (like the one where James Webb Space Telescope orbits, three quarters of a million miles beyond the Moon). It changes the game in some important ways, even aside the three-body effects -- and relies heavily on fairly recent math libraries.

In any case, I took a flier and installed the 19 version of those three libraries from backports after verifying none of them had any other dependencies -- and voila! Principia works without complaint.

Post Reply