3 ms·
I think you're conflating package management for distribution and package management as a build tool. This is the flaw that Linux distributions make. It's why f
by duped 5y ago
I think you're conflating package management for distribution and package management as a build tool. This is the flaw that Linux distributions make. It's why flatpaks and snaps exist. On MacOS and Windows you distribute software as application bundles similar to flatpak/snap.
>More or less every distro does it wrong? And you know how to do it correctly?
Yes, exactly. For distribution you use snap and flatpak, or application bundles on MacOS and Windows. For building you use a package manager that can install vendored dependencies pinned to specific versions, and do it locally to individual projects so they are not shared across multiple projects. This is the tact taken by modern tools and languages.
It's not my idea! It's what everyone building software in the last decade has migrated to.
Packaging software so it can be used by any distro's package manager is not viable, and reliance on such an outdated model is why using Linux sucks for everything but writing software to run on a single machine.
> At least I hear "sometimes" that users demand proper software packages. But maybe it's just me
And when they do you almost never go through the official/trusted mirrors because it will never be up to date, you host your own (maybe put up some signature that no one ever checks) so they just `sudo apt repository add ; sudo apt-get install -y` in your install instructions.
- tentacleuno 5y ago> Packaging software so it can be used by any distro's package manager is not viable, and reliance on such an outdated model is why using Linux sucks for everything but writing software to run on a single machine. Sorry, could you elaborate on why Linux "sucks" for anything but single-user, please? I haven't heard this argument.
- deleted 5y ago[deleted]
- still_grokking 5y ago> It's not my idea! It's what everyone building software in the last decade has migrated to. Well, everybody besides the biggest free software distributors out there, which are Linux distributions… > Packaging software so it can be used by any distro's package manager is not viable, and reliance on such an outdated model is why using Linux sucks for everything but writing software to run on a single machine. Yeh, I get it. That's why we need Docker… Nobody is able to distribute software otherwise. Well, except all those "distributions"… > And when they do you almost never go through the official/trusted mirrors because it will never be up to date, you host your own (maybe put up some signature that no one ever checks) so they just sudo apt repository add ; sudo apt-get install -y in your install instructions. Moment. Does this mean someone managed to build packages that work on different versions of even different distributions, which is obviously impossible as we just learned? This starts getting hilarious! I'm sorry for you that nobody want's to listen to your great ideas. Have you ever considered that you're completely wrong?