The cabal-install package

[Tags: bsd3, program]

apt-get like tool for Haskell. The 'cabal' command-line program simplifies the process of managing Haskell software by automating the fetching, configuration, compilation and installation of Haskell libraries and programs.


[Skip to ReadMe]

Properties

Versions0.4.0, 0.5.0, 0.5.1, 0.5.2, 0.6.0, 0.6.2, 0.6.4, 0.8.0, 0.8.2, 0.10.0, 0.10.2, 0.14.0, 0.14.1, 1.16.0, 1.16.0.1, 1.16.0.2, 1.16.1.0, 1.18.0, 1.18.0.1, 1.18.0.2, 1.18.0.3, 1.18.0.4, 1.18.0.5, 1.18.0.6, 1.18.0.7, 1.18.0.8, 1.18.1.0, 1.20.0.0, 1.20.0.1, 1.20.0.2, 1.20.0.3, 1.20.0.4, 1.20.0.5, 1.20.0.6, 1.20.1.0, 1.22.0.0, 1.22.0.1, 1.22.2.0, 1.22.3.0, 1.22.4.0, 1.22.5.0, 1.22.6.0
Change logNone available
Dependenciesbase (<2.2 || >=3.0), bytestring (>=0.9), Cabal (>=1.2), directory, filepath (>=1.0), HTTP (>=3000.0 && <3001.1), network, pretty, process, zlib (>=0.3) [details]
LicenseBSD3
Copyright2005 Lemmih <lemmih@gmail.com>, 2006 Paolo Martini <paolo@nemail.it>
AuthorLemmih <lemmih@gmail.com>, Paolo Martini <paolo@nemail.it>
Maintainercabal-devel@haskell.org
StabilityExperimental
CategoryDistribution
Executablescabal
UploadedSun Oct 21 17:53:57 UTC 2007 by DuncanCoutts
DistributionsDebian:1.22.6.0, Fedora:1.18.0.5, FreeBSD:1.22.6.0, LTSHaskell:1.22.6.0, NixOS:1.22.6.0, Stackage:1.22.6.0
Downloads146001 total (2073 in last 30 days)
Votes
2 []
StatusDocs not available [build log]
All reported builds failed as of 2015-05-24 [all 2 reports]

Flags

NameDescriptionDefaultType
old-baseOld, monolithic baseDisabledAutomatic
bytestring-in-baseEnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for cabal-install-0.4.0

== cabal install ==

The automatic package manager for Haskell!

Intended usage:

    cabal install xmonad

Just works. Defaults make sense, and by default we don't fail unless it
is unrecoverable.

== Dependences ==

   base >= 2.1, process, directory, pretty, bytestring >= 0.9
   mtl, network, regex-compat, unix, Cabal>=1.3,
   zlib >= 0.4, HTTP >= 3000.0 && < 3000.1, filepath >= 1.0

Kind of ironic we need cabal install to make it easier to build cabal
install. 

== Developer docs ==

    CabalInstall, what happens under the hood.

  FetchCmd:
    cabal-install stores packages in [config-dir]/packages/ by their package id.
    This can lead to clashes if there's two identical (same name, same version)
    packages from two servers with different functionality.
  CleanCmd:
    Removes all fetched packages.
  UpdateCmd:
    Queries all known servers for their packages and stores it in [cfg-dir]/pkg.list.
  InstallCmd:
    Installed packages are determined, and dependencies of the to-be-installed packages
    are resolved and fetched.
    The fetched tarballs are moved to a temporary directory (usually /tmp) and extracted.
    Distribution.Simple.SetupWrapper is used to configure, build and install the
    unpacked package. The user can
    only pass arguments to the 'configure' phase of the installation. '--user' is used
    by default.
  InfoCmd:
    To be written.

  Files used by cabal-install:
    [cfg-dir]/config        configuration file
    [cfg-dir]/00-index.tar         list of packages available from the servers.
    [cfg-dir]/packages/        directory containing all fetched packages.