LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Blogs > linux-related notes
User Name
Password

Notices

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 04:44 PM by the dsc
Updated 04-16-2011 at 05: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 840 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



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

Main Menu
Advertisement

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