[Haskell-cafe] Damnit, we need a CPAN.

Don Stewart dons at galois.com
Thu May 29 12:13:07 EDT 2008

> Hackage and Cabal are nice, but a command line tool for automatically
> searching Hackage and installing Hackage packages (like the cpan
> program, or easy_install) would be nice.  Unless I haven't done my
> homework and this tool exists...

This tool exists. It is called 'cabal-install'. To try out one of
today's new packages:

    $ cabal update
    Downloading package list from server 'http://hackage.haskell.org/packages/archive'

    $ cabal install category-extras
    Downloading 'category-extras-0.52.1'...
    Configuring category-extras-0.52.1...
    Preprocessing library category-extras-0.52.1...
    Building category-extras-0.52.1...
    /usr/bin/ar: creating dist/build/libHScategory-extras-0.52.1.a
    Installing: /home/dons/.cabal/lib/category-extras-0.52.1/ghc-6.8.2
    Registering category-extras-0.52.1...


More information about the Haskell-Cafe mailing list