Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
Cabal (software)
Package manager for Haskell software

The Cabal (common architecture for building applications and libraries) is a type of package manager to aid in packaging and distributing software packages, in the forms of application software and libraries, for the programming language Haskell.

We don't have any images related to Cabal (software) yet.
We don't have any YouTube videos related to Cabal (software) yet.
We don't have any PDF documents related to Cabal (software) yet.
We don't have any Books related to Cabal (software) yet.
We don't have any archived web articles related to Cabal (software) yet.

History

Cabal was introduced to simplify packaging of Haskell software and modules. It was added to the Glasgow Haskell Compiler in version 6.4 as the default package manager,1 alongside GHC's internal manager ghc-pkg. Its approach has changed significantly over the course of its development, moving from global package installation to sandboxed builds, and eventually a Nix-inspired solution of local builds with global caching,2 which became the default in 2019.

Use

Cabal packages provide a standard set of metadata and build process; thus, it is possible to develop tools to upload Cabal packages to the CPAN-like community repository of software, Hackage, or even allow automated downloading, compiling, and installing of desired packages from Hackage.3

Wikibooks has a book on the topic of: Haskell/Packaging

References

  1. "1.4. Release notes for version 6.4". GHC 6.4 user manual. Retrieved 2016-01-12. https://downloads.haskell.org/~ghc/6.4/docs/html/users_guide/release-6-4.html

  2. "Announcing cabal new-build: Nix-style local builds". Retrieved 1 October 2019. http://blog.ezyang.com/2016/05/announcing-cabal-new-build-nix-style-local-builds/

  3. "cabal-install: The command-line interface for Cabal and Hackage". Hackage. Retrieved 12 January 2016. https://hackage.haskell.org/package/cabal-install