vinix icon indicating copy to clipboard operation
vinix copied to clipboard

package manager

Open WillTheCodeWork opened this issue 1 year ago • 2 comments

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.

WillTheCodeWork avatar May 23 '24 12:05 WillTheCodeWork

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.

xandaaah avatar Jul 17 '24 18:07 xandaaah

I think we're a bit early here, network is required for a package manager and we don't have that.

recalcitrantjim avatar Jul 22 '24 15:07 recalcitrantjim

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.

sskras avatar Nov 06 '25 21:11 sskras

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 ?

sskras avatar Nov 06 '25 22:11 sskras

The first question should be: does vinix want to use apk? Why not yum, dnf, or one of the others? Or even something new?

JalonSolov avatar Nov 06 '25 23:11 JalonSolov