Downloading new IDEs

There's a nugget of a good idea tucked in here, I think. Has anyone given thought to something similar to Perl's CPAN (or Python's cheeseshop/easy_install/pip, or Ruby's gem)? ie. a simple means of distributing libraries of code to users in a useful manner? Good IDE integration could make for a pretty painless new user experience.

(Mind you, the problem of one library making use of another in a uniform, cross-platform manner probably needs to be addressed first.)