Getting The Haskell Cabal
Note: Most people already have Cabal because it is included in the Haskell Platform
If you want to upgrade to the latest stable version, just run:
$ cabal install cabal cabal-install
Sometimes the older installed version is still on the program search $PATH, you can check you’re running the latest version with:
$ cabal --version
Cabal library (version 2.0.0.2)
August 2017: Release 2.0.0.2
Source download: Cabal-2.0.0.2.tar.gz
Please see the User’s guide, the API documentation, and the change log.
cabal-install tool (version 2.0.0.0)
cabal-install is the command line interface to Cabal and hackage. This is the package that provides the ‘cabal’ command line program.
Source download: cabal-install-2.0.0.0.tar.gz
Binary downloads
- Windows (x86): cabal-install-2.0.0.0-i386-unknown-mingw32.zip
- Windows (x86-64): cabal-install-2.0.0.0-x86_64-unknown-mingw32.zip
- macOS Sierra (x86_64): cabal-install-2.0.0.0-x86_64-apple-darwin-sierra.tar.xz
- Linux (x86): cabal-install-2.0.0.0-i386-unknown-linux.tar.gz
- Linux (x86-64): cabal-install-2.0.0.0-x86_64-unknown-linux.tar.gz
- AIX (PowerPC): cabal-1.24.0.0-powerpc-ibm-aix7.1.0.0.xz
Binaries for cabal-install for many platforms are available on Halcyon.
Packages for Ubuntu Linux (multiple versions) are available on hvr’s PPA.
The source package requires the Cabal package above and also further packages, which can be found on Hackage. To make the process easier the cabal-install tarball contains a bootstrap.sh script which downloads and installs all the dependencies.
Bugs
Report bugs here or to the cabal-devel mailing list.
Code
You can get the development version of the code here.
Version Numbers
Stable Releases are numbered a.b.c.d, where b is even. Unstable snapshots between releases are numbered a.b.c.d, where b is odd. Changes for c and d are minor.
For example, 2.1.x.x is the development version leading up to the stable release 2.2.x.x.
Older Releases
- The previous stable release series for Cabal was 1.24.x.
- The previous stable release series for cabal-install was 1.24.x.
The versions bundled with recent Haskell implementation releases include:
- GHC 8.2.1 includes Cabal 2.0.0.2.
- GHC 8.0.2 includes Cabal 1.24.2.0.
- GHC 8.0.1 includes Cabal 1.24.0.0.
- GHC 7.10.3 includes Cabal 1.22.5.0.
- 2.0.0.2 August 2017
- 1.24.2.0 December 2016
- 1.24.1.0 October 2016
- 1.24.0.0 May 2016
- 1.22.8.0 March 2016
- 1.22.7.0 January 2016
- 1.20.0.4 January 2016
- 1.18.1.7 January 2016
- 1.22.6.0 December 2015
- 1.22.4.0 June 2015
- 1.22.3.0 April 2015
- 1.22.2.0 March 2015
- 1.22.0.0 January 2015
- 1.18.1.6 January 2015
- 1.20.0.3 December 2014
- 1.18.1.5 December 2014
- 1.20.0.2 July 2014
- 1.18.1.4 July 2014
- 1.20.0.1 May 2014
- 1.20.0.0 April 2014
- 1.18.1.3 March 2014
- 1.18.1.2 October 2013
- 1.18.1.1 October 2013
- 1.18.1 September 2013
- 1.18.0 September 2013
- 1.14.0 February 2012
- 1.12.0 January 2012
- 1.10.2.0 June 2010
- 1.10.1.0 February 2010
- 1.10.0.0 November 2010
- 1.8.0.6 June 2010
- 1.8.0.4 March 2010
- 1.8.0.2 December 2009
- 1.6.0.2 February 2009
- 1.6.0.2 February 2009
- 1.6.0.1 October 2008
- 1.4.0.2 August 2008
- 1.4.0.1 June 2008
- 1.2.3.0 December 2007
- 1.2.2.0 October 2007
- 1.2.1.0 October 2007
- 1.2.0 September 2007
- 1.1.6.2 May 2007
- 1.1.6.1 October 2006
- 1.1.6 October 2006
- 1.1.4 May 2006
- 1.1.3 September 2005
- 1.1.1 July 2005
- 0.5 February 2005
- 0.4 January 2005
- 0.2 November 2004
- 0.1 August 2004