News for hackers. Stuff that matters.
Re:Containers Don't Solve Everything by 5e92cb50239222b on Friday September 10, 2021 @01:41PM (#28484837)
(Almost) nobody is using Arch Linux on servers, but I find its package system to be very good (not surprising since it was mostly copied from BSD ports).

A few random examples (not the best you could find, just something I've used recently):

- re-packaging pre-built binaries:

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=visua...

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=nomad...

- building C from source

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=tinc-...

- building Go from source

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=yay

- patching and building a kernel

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=linux...

Re:Containers Don't Solve Everything by messe on Friday September 10, 2021 @03:21PM (#28485926)
Alpine (apk) and Void (xbps) have similarly nice packaging systems.
Re:Containers Don't Solve Everything by Topgamer7 on Friday September 10, 2021 @02:35PM (#28485463)
I was having problems building wine. So I used the arch pkgbuild and just didn't do the install phase. Made compiling pretty simple. And all the outputs are nicely defined in the aur repo locally.
Re:Containers Don't Solve Everything by curt15 on Friday September 10, 2021 @02:20PM (#28485291)
Does Arch support installing multiple versions of libraries?
Re:Containers Don't Solve Everything by tomjakubowski on Friday September 10, 2021 @03:27PM (#28485981)
Yes, but only if they're packaged separately. PKGBUILD is easy, so it takes very little effort to repackage older library versions under a new name (and patch dependents to use the new name) if you need them.
Re:Containers Don't Solve Everything by KingMachiavelli on Friday September 10, 2021 @03:29PM (#28486005)
Not really. There are a few applications that can be installed because the install path different for each version, things like Java support this. But libraries like glibc, etc. are tied to one version so anytime those libraries change it triggers a rebuild of many packages.