Apt-bundle: brew bundle for apt
Posted by sadeshmukh 4 days ago
Comments
Comment by curt15 3 hours ago
Comment by matrss 22 minutes ago
There is also conda/mamba/pixi/etc. (anything in the conda-forge ecosystem) that can be used without root. Then there are Guix and nix, which (mostly) require to be set up by someone with root privileges, but which then allow unprivileged users to install packages for themselves. I think I have even used emerge rootless-ly at some point a few years ago.
Comment by hiciu 2 hours ago
Comment by pzmarzly 2 hours ago
For something that only uses your home folder, I recommend checking out mise https://mise.jdx.dev/
Comment by mmarx 1 hour ago
Comment by exploderate 2 hours ago
Comment by WhyNotHugo 2 hours ago
Basically, /etc/apk/world keeps a list of explicitly installed packages.
When you manually install a package, it's added to this list, when you manually remove a package, it's removed from the list.
Installation and upgrading (and "fixing) merely ensures that those packages and their dependencies are installed, no more, no less. This also automatically cleans up stale, unused dependencies.
It's a lovely way to get deterministic results. You can just back-up that world file, or copy it to another machine and get the exact same installation.
Comment by creshal 1 hour ago
Comment by pzmarzly 4 hours ago
BTW how much of it is vibe coded?
Comment by exploderate 2 hours ago
Comment by letmeinhere 3 hours ago
The difference is that it strives to track all non-user files, (not just packages, and especially /etc), but you can adopt it partially.
Comment by Arrowmaster 2 hours ago
The ppa directive hints that this is intended for Ubuntu because otherwise installing PPAs is a great way to break a non Ubuntu distro.
The deb directive uses the old and soon to be deprecated .list file extension. DEB822 format is the replacement.
The key directive adds the key as globally trusted for all repos instead of locking it to a specific repo as recommended by Debian. I think this is required under the new DEB822 repo format.
Comment by pamcake 6 hours ago
Comment by Imustaskforhelp 5 hours ago
Good luck share the progress and let us know how it goes. Is it similar to nix? but from what I can feel, is intending to be simpler?
Comment by jraph 3 hours ago
Comment by jbverschoor 3 hours ago
Comment by lifetimerubyist 6 hours ago
Comment by yxhuvud 5 hours ago
Comment by c-hendricks 4 hours ago
Edit: oh this aptfile doesn't do the one thing I actually use brew bundle for: cleaning up the mess of leftover packages
Comment by seemaze 3 hours ago
https://wiki.alpinelinux.org/wiki/Alpine_Package_Keeper#Worl...
Comment by lifetimerubyist 3 hours ago
Comment by c-hendricks 1 hour ago
Still, can you share your script?
Comment by migmaldo 5 hours ago
Comment by SubiculumCode 4 hours ago