Hacker News new | past | comments | ask | show | jobs | submit login

Can't wait for Flatpak or Snappy to make end-user binary distribution a breeze



I can, they're not really all that great as an alternative.

Use a better distro with a better packaging mechanism. Instead of inventing something new, use something that already exists.


Yes, technological process often comes from not inventing something new. I don't have strong opinions on snappy aside from the name being silly, but taking anti-NIH to the extreme is not how we advance the industry.


It's not extreme at all. All you have to do is install a distro with a good packaging system. Arch is wonderful, and I've heard good things about Void and Gentoo.

Imagine a package system where you could ask to download node.js, and you'll get the latest version. And that's it.

Better yet, imagine having to build a package from source and installing it. You could do it by hand, leaving orphan files all over your system. Or you could write a PKGBUILD that handles installing dependencies, building, and packaging, all in one go.

That's what running Arch feels like. Being able to install fresh popular packages, and being able to easily package your own. Try it sometime.


> It's not extreme at all. All you have to do is install a distro with a good packaging system. Arch is wonderful, and I've heard good things about Void and Gentoo.

Depends what you classify as criteria for a "good packaging system". Arch didn't even sign their packages until a few years ago, and the build system for their packages is not very good IMO. What makes Arch great is the fact that they have a large library of very up to date packages. Personally (though I'm biased) I like openSUSE's package manager (zypper). It's an enterprise-grade package manager that supports things like patterns and can differentiate between security updates and regular updates. It also supports delta RPMs for patching.

> Better yet, imagine having to build a package from source and installing it. You could do it by hand, leaving orphan files all over your system. Or you could write a PKGBUILD that handles installing dependencies, building, and packaging, all in one go.

rpmbuild has this. And there's also OBS (the open build system) which was originally written by the openSUSE community but supports many other distributions (including Arch as well as Fedora, Debian and the other usual suspects).


Right. I'm not advocating for one particular distro. I'm just advocating that people stop using distros with bad package management.

Thanks for the list of other stuff to check out, by the way.


FWIW, I do agree that snappy is the wrong solution to the problem. The correct solution is backing proper package managers. So I think we're in agreement. :P


There's literally nothing special about arch or pacman. It's just like any other package manager with newer packages.


You're right. It's just that the people who manage packages for those distros are actually sane. I can't believe people are still on kernel 4.4, or nodejs 0.10, or whatever.

Although there is something special about the PKGBUILD ports system. Here's how a well-behaved open source package is built: https://git.archlinux.org/svntogit/community.git/tree/trunk/.... And here's how Arch Linux's kernel is built: https://git.archlinux.org/svntogit/packages.git/tree/trunk/P...

It's pretty fantastic. And it means that if a package isn't available in the repos or on the AUR, you can package it yourself in less than an hour.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: