cabal-install: Automatic package handling for Haskell

[ bsd3, distribution, program ] [ Propose Tags ]

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]
Versions [faq] 0.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.18.2.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.20.2.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, 1.22.7.0, 1.22.8.0, 1.22.9.0, 1.24.0.0, 1.24.0.1, 1.24.0.2, 2.0.0.0, 2.0.0.1, 2.2.0.0, 2.4.0.0, 2.4.1.0, 3.0.0.0
Dependencies base (<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]
License BSD-3-Clause
Copyright 2005 Lemmih <lemmih@gmail.com>, 2006 Paolo Martini <paolo@nemail.it>
Author Lemmih <lemmih@gmail.com>, Paolo Martini <paolo@nemail.it>
Maintainer cabal-devel@haskell.org
Category Distribution
Uploaded by DuncanCoutts at Sun Oct 21 17:53:57 UTC 2007
Distributions Arch:2.4.0.0, Debian:2.2.0.0, Fedora:2.4.0.0, FreeBSD:1.22.6.0, LTSHaskell:2.4.1.0, NixOS:3.0.0.0, Stackage:2.4.1.0, openSUSE:2.4.0.0
Executables cabal
Downloads 204852 total (1280 in the last 30 days)
Rating 2.25 (votes: 8) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2017-01-04 [all 9 reports]

Flags

NameDescriptionDefaultType
old-base

Old, monolithic base

DisabledAutomatic
bytestring-in-baseEnabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for cabal-install-0.4.0

[back to package description]
== 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.