views:

463

answers:

12

One of the main reasons I like Perl is CPAN (Comprehensive Perl Archive Network) and the ease of finding, installing, and testing of packages it provides that solve a problem I was already trying to solve.

I would like to know of any similar repositories for PHP, Python, Ruby, Java, C++, Javascript, etc..., or better, a comprehensive list of such repositories. To date my list is PHP: Pear, Python: PyPi, Ruby: rubyforge, and Java: maven. What are the top repositories you go to for the languages you program in, or what repositories do you use to share your code?

+4  A: 

Hackage is the package repository for Haskell. along with it's cabal tool makes package finding / building quite easy.

barkmadley
A: 

If we speak about simple cookbook examples you can think about this one: Pleac

Jack
I don't think this is what he had in mind. I think he was refering to actual code packages.
Geo
+2  A: 

For PHP there is PEAR for components and PECL for extensions. Both of them proved to be useful more than once to me.

Ree
+7  A: 

CRAN (Comprehensive R Archive Network) is the package repository for the R language/environment with 68 mirrors and >2000 extension packages.

rcs
A: 

You could consider github a mostly Ruby repository, in it's current state.

Geo
That's kind of like saying sourceforge is a mostly PHP repository. Sure the majority of projects listed there are PHP, but it's not really the same thing.
mpeters
+3  A: 

boost is a set of peer reviewed C++ packages. It's no where near as large as CPAN, but it's still a repository for C++.

s1n
That's not really the same thing. It's not an open community extension system. It's collection of pre-defined packages. Not that it's not great and really useful, just not the same thing.
mpeters
The original quetion was about a community repository of software. Boost can be contributed to by anyone in the community and is freely available. The only difference is the software is peer reviewed. Still seems to fit the bill to me.
s1n
it falls smack on the borderline to me. the code is very useful, but the bar to entry is quite high. it would be great if they had a "contender" category to submit code into that could be vetted by the community more within the open source model. that said, i haven't found any other such C++ or C repositories.
Jeff Kubina
@jeff: I'll agree, the community vetting process is significantly different than CPAN with a much higher barrier to entry, but the question only asked for community repositories, not community repositories with a specific contribution policy.
s1n
+1  A: 

There's LuaForge for... uh... Lua, I think.

There's also LuaRocks which is aiming to make a more-or-less equivalent to Python's easy_install.

Mark Rushakoff
+1  A: 

JSAN is a JavaScript repository inspired by CPAN.

mpeters
+1  A: 

Scripteka is an open repository of extensions to the Prototype Javascript framework. Much more niche than just a language library repository, but still in the same vein.

mpeters
+3  A: 

For those who consider TeX and LaTeX programming languages, there's the Comprehensive TeX Archive Network - CTAN

Brent.Longborough
+3  A: 

OCaml has GODI.

Michael E
+1  A: 

For java people, there's the Maven Central repo, and also Sonatype's mirror of most public repos.

If you want OSGi-ified, bundles, there's the Spring EBR.

tunaranch