vinix
vinix copied to clipboard
package manager
Something that lets us download packages from a repository would be nice. Probably the best way to do this is to take something like apt and rewrite it in V, so you don't have to worry about a limited selection of packages, a search utility, or server hosting.
I feel like apk (Alpine Package Keeper) would be better as a base to rewrite off of. It's lightweight, fast, and is practically bulletproof.
I think we're a bit early here, network is required for a package manager and we don't have that.
On the note of rewriting I'd like to ask if is the project going to port / rewrite everything it runs? Eg. the X11 engine.
To answer myself: OK, it looks like not – at least some software is seemingly build from the original sources: https://github.com/vlang/vinix/blob/e6254435854f0a0ecb6fe645f59a24691099f490/recipes/xorg-server
... so even if I vote for reusing apk, I would avoid rewriting it. Why not just build it the same way as Xorg?
Then Alpine has implemented a v3 of that package manager: https://postmarketos.org/edge/2025/07/01/apk-v3/
... so another thing would be to decide which apk version does Vinix go with – v2 or v3 ?
The first question should be: does vinix want to use apk? Why not yum, dnf, or one of the others? Or even something new?