r/linuxfromscratch • u/Worried_Response2204 • Feb 02 '23
How to package manager?
How can I write my own package manager from scratch using lfs?
6
Upvotes
r/linuxfromscratch • u/Worried_Response2204 • Feb 02 '23
How can I write my own package manager from scratch using lfs?
View all comments
Show parent comment
2
u/[deleted] Feb 03 '23
For me the difficulty was to create a package format (a parser in C and everything) for source and binary , keep track of installed package in an SQLite database , create a package repo , write an update mechanism that automatically recompile needed packages and a lot more annoying stuff