cabal (software)

{{Infobox software

| name = Cabal

| logo =

| screenshot =

| caption =

| collapsible =

| author = Isaac Potoczny-Jones

| developer = Duncan Coutts

| released = {{Start date and age|2005|01}}

| latest release version = {{wikidata|property|preferred|references|edit|P348|P548=Q2804309}}

| latest release date = {{Start date and age|{{wikidata|qualifier|preferred|single|P348|P548=Q2804309|P577}}|df=yes}}

| programming language = Haskell

| operating system = Unix, Unix-like, Windows

| platform = IA-32, x86-64

| language = English

| genre = Application level package manager

| license = BSD

| website = {{URL|www.haskell.org/cabal}}

}}

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.

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,{{cite web |title=1.4. Release notes for version 6.4 |website=GHC 6.4 user manual |url= https://downloads.haskell.org/~ghc/6.4/docs/html/users_guide/release-6-4.html |access-date =2016-01-12}} 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,{{cite web|url=http://blog.ezyang.com/2016/05/announcing-cabal-new-build-nix-style-local-builds/|title=Announcing cabal new-build: Nix-style local builds|access-date=1 October 2019}} 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.{{cite web |title=cabal-install: The command-line interface for Cabal and Hackage |url=https://hackage.haskell.org/package/cabal-install |website=Hackage |access-date=12 January 2016}}

References

{{Reflist}}