Hacker News new | ask | show | jobs
by AnIdiotOnTheNet 3076 days ago
Here's a better idea: build the system such that dependency conflicts aren't possible. This is trivial by having a stable base system and otherwise including any application's dependencies in the same directory as the application, which of course means not spreading the application all over the file tree (and thus avoiding another non-existent problem that package managers solve).

I know, that's really hard for Linux Desktop people to understand, because it goes against their nature of making everything as complicated as possible for no reason. It's not rocket science, lots of systems managed it in the past.

1 comments

On the contrary, the system you proposed has been implemented many times over the history of Linux .. I can think of GoboLinux as an example, but I think NixOS also does this (may be wrong).

I prefer to just keep the system stable through careful application of well-curated dependency graphs. I've never run into any issue, having used Linux since the very first day, that I couldn't solve by proper application of package manager tools. It seems its easy for newbies and those who don't care enough to get into trouble, but with the right attitude you can easily have systems with years and years of uptime (personal experience).

Gobo and Nix do something similar, but they overengineer the hell out of it (largely because typical Linux software is written very inflexibly). What I'm talking about is so simple it requires no management at all. AppImage is the closest solution Linux has, but sadly hardly any applications are deployed that way.