r/linuxfromscratch • • Dec 17 '19
Stop Dependency Hell!
Hello to everybody,
first time redditor here!
Lately I started compiling a lot of software, especially when I started my LFS. I noticed that everytime I compile a program it actually says which files are missing and in most cases it is easy to find out which programm contains them. My idea was the following:
What if there was a Website, who's only purpose is to list dependencies for programs, but in a distro-agnostic way, meaning that there will be no assumptions about preinstalled programs.
It could be similar to how dependencies are listed in the AUR.
Does anyone of you know if something similar already exists?
If not: Would anyone be interested in helping me starting this. The idea would be that anytime someone compiles a program, he submits the list to the website, so it would be maintained by the community.
I guess it would be easy to list the files that the make program checks for using strace or something similar.
View all comments
Show parent comment
1
u/[deleted] Dec 18 '19
Thanks for the detailed response. Maybe I should clarify what I mean by agnostic though: traditionally speaking I don't think that you would install a package manager other than the distros default one. In the case of LFS there obviously is none. I really find interesring pkgsrc, I' ll look into that. I also find the idea very interesting to install it to an empty source, that really makes it a lot simpler. As of why I wanna do this. The purpose is in big parts an educational one. Of course a package manager could do all this stuff a lot more efficiently, but by not using one, I think you learn a lot more about how programs interect with each other. Also some kind of website that is pm-agnostic if you want so could be useful. Probably the average user or even power users will use a pm anyway, but for nerds like me it would be neat haha