Answer the question
In order to leave comments, you need to log in
How and can you use libsolv to resolve dependencies in your project?
Greetings!
I make plugins in my project, plugins can depend on others (including different versions), in general, as in Linux.
Accordingly, I want to make my own package manager. Google suggested that Linux uses libsolv to resolve dependencies, but I can’t find how to use it anywhere, tell me, please?
Answer the question
In order to leave comments, you need to log in
Google says that this library is used in Suse linux and its derivatives, it is not in other linux distributions.
Different distributions have different package managers and package types and add-ons for them.
First decide which packages will you manage? rpm? deb? some kind of exotic like ebuild?
then study the package manager, then think about how to manage it.
As Vladimir correctly noted, Linux (yet?) does not have a universal package manager.
There are two dominant formats:
dpkg - born in debian, used in ubuntu and debian
rpm - Born in red hat, used in RHEL/CENTOS, Suse, Mandrive, AWS Linux, etc.
Here is an intro to RPM package generation - https://opensource.com/article/18/9/how-build-rpm-...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question