Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs > linux-related notes
User Name


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Rate this Entry

Emerge + yaourt + apt-build/checkinstall + debtorrent/apt-p2p

Posted 04-16-2011 at 05:44 PM by the dsc
Updated 04-16-2011 at 06:15 PM by the dsc

Just an idea I had sometime ago, perhaps some bored developer sees it and might want to make it a reality.

It would be quite interesting if such a compiling/packaging system could be made. You compile with whatever flags you want and whatnot just like Gentoo's emerge, then it is converted into a package like apt-build or checkinstall (if emerge doesn't do that already), and then this package is seeded in a community-built meta-repository with many alternatives (somewhat like Arch's yaourt), but instead of (maybe concomitantly) being hosted in a conventional repository somewhere, it's seeded via some p2p protocol (like debtorrent and/or apt-p2p).

If there were enough people using it, they would have the benefits of both packages and compiled software, at least inasmuch they share similar hardware and compilation preferences. Even if you don't find exactly the same configuration parameters that you'd like, this chimeric system could offer you a pool of available options that are compatible with your hardware at least (somewhat akin to yaourt here). If none pleases you, then you got to compile according to your picky tastes. And you start to share it automatically, perhaps influencing more people on your choices.

Even those with more "weird" hardware would start to seed their packages, so as long as there's not only a single person with a given hardware, they could still share compiled packages even though they're more scant, as there are fewer people building them.

It could be even further hybridized with the conventional repository systems. When there are no available options for a given package, as you finish compiling something, your program talks with the server counterpart somewhere, which then copies it from you and starts to seed it along with you. So everybody has an increased chance of actually downloading the compiled package, as it does not depend of some seeder being online at the moment.

And there could be somewhat of a twist here: perhaps there could be a given disk space that people could offer to host packages that they don't even have chosen to install themselves, just for the sake of increasing the availability somewhat as if there was a central server, but instead it's "just" some swarm intelligence type of thing. The software decides what to host and what to delete based on the availability in the network.
Posted in Uncategorized
Views 1266 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 06:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration